Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
push_notifications: Support test notifications from old servers.
Alex Vandiver46a57e37aaf2
diff --git a/zerver/lib/push_notifications.py b/zerver/lib/push_notifications.pyindex 146e027058b..35f629e13f2 100644--- a/zerver/lib/push_notifications.py+++ b/zerver/lib/push_notifications.py@@ -1449,7 +1449,8 @@ def send_test_push_notification_directly_to_devices(apple_payload = copy.deepcopy(payload)android_payload = copy.deepcopy(payload)- realm_url = base_payload["realm_url"]+ # TODO/compatibility: Backwards-compatibility name for realm_url.+ realm_url = base_payload.get("realm_url", base_payload["realm_uri"])realm_name = base_payload["realm_name"]apns_data = {"alert": {