mirror of
https://github.com/zulip/zulip.git
synced 2026-07-09 21:21:47 +08:00
Earlier, while sending notification if `apns_context=None` - we logged: "APNs: Dropping a notification because nothing configured. Set ZULIP_SERVICES_URL (or APNS_CERT_FILE)." which is not accurate for E2EE case. For the non-E2EE case it is correct because configuring ZULIP_SERVICES_URL results in transfering the responsbility to make API call to APNs to the bouncer. Or they can configure APNS_CERT_FILE if they want to send directly. In E2EE case, the `send_e2ee_push_notification_apple` is part of bouncer so configuring `ZULIP_SERVICES_URL` doesn't help. One needs to configure either `APNS_TOKEN_KEY_FILE` or `APNS_CERT_FILE`. Message to log is updated accordingly + severity increased from DEBUG to ERROR. Signed-off-by: Prakhar Pratyush <prakhar@zulip.com> |
||
|---|---|---|
| .. | ||
| actions | ||
| data_import | ||
| lib | ||
| management | ||
| migrations | ||
| models | ||
| openapi | ||
| tests | ||
| tornado | ||
| transaction_tests | ||
| views | ||
| webhooks | ||
| worker | ||
| __init__.py | ||
| apps.py | ||
| context_processors.py | ||
| decorator.py | ||
| filters.py | ||
| forms.py | ||
| logging_handlers.py | ||
| middleware.py | ||
| signals.py | ||