Files
zulip/zerver
Prakhar Pratyush 04352cd738 push_notifications: Use SentPushNotificationResult dataclass.
Refactoring, no functional change.

This commit refactors `send_e2ee_push_notification_apple`
and `send_e2ee_push_notification_android` to return a
`SentPushNotificationResult` dataclass.

It's a cleaner protocol than passing a mutable data structure
`delete_device_ids` as argument and updating it within
functions.

Fixes part of #35368.

(cherry picked from commit 3548764e21)
2025-08-28 17:34:20 -07:00
..
2025-07-30 13:45:53 +00:00