mirror of https://github.com/zulip/zulip.git
push_notifications: Don't get alert message.
Now we set the alert message in the payload functions for both GCM and APNs so no need to get it here.
This commit is contained in:
parent
3c32bc6d8a
commit
112a67097b
|
@ -347,7 +347,6 @@ def handle_push_notification(user_profile_id, missed_message):
|
|||
gcm_payload = get_gcm_payload(user_profile, message)
|
||||
|
||||
if apple_devices or android_devices:
|
||||
alert = get_alert_from_message(message)
|
||||
# TODO: set badge count in a better way
|
||||
if apple_devices:
|
||||
send_apple_push_notification(user_profile.id, apple_devices,
|
||||
|
|
Loading…
Reference in New Issue