mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 22:13:26 +00:00
push notif: Set GCM priority high for real notifications.
This is the payoff of this branch! Fixes zulip/zulip-mobile#3185.
This commit is contained in:
@@ -667,7 +667,7 @@ def handle_push_notification(user_profile_id: int, missed_message: Dict[str, Any
|
||||
|
||||
apns_payload = get_apns_payload(user_profile, message)
|
||||
gcm_payload = get_gcm_payload(user_profile, message)
|
||||
gcm_options = {} # type: Dict[str, Any]
|
||||
gcm_options = {'priority': 'high'} # type: Dict[str, Any]
|
||||
logger.info("Sending push notifications to mobile clients for user %s" % (user_profile_id,))
|
||||
|
||||
if uses_notification_bouncer():
|
||||
|
||||
Reference in New Issue
Block a user