mirror of
https://github.com/zulip/zulip.git
synced 2025-11-07 07:23:22 +00:00
Disable push notifications regardless of idle status for zulip.com
(imported from commit a1a1d551b7bf1423ecb31cf6a230f59c888a8a82)
This commit is contained in:
@@ -300,7 +300,7 @@ def log_message(message):
|
|||||||
def always_push_notify(user):
|
def always_push_notify(user):
|
||||||
# robinhood.io asked to get push notifications for **all** notifyable
|
# robinhood.io asked to get push notifications for **all** notifyable
|
||||||
# messages, regardless of idle status
|
# messages, regardless of idle status
|
||||||
return user.realm.domain in ['zulip.com', 'robinhood.io']
|
return user.realm.domain in ['robinhood.io']
|
||||||
|
|
||||||
# Helper function. Defaults here are overriden by those set in do_send_messages
|
# Helper function. Defaults here are overriden by those set in do_send_messages
|
||||||
def do_send_message(message, rendered_content = None, no_log = False, stream = None, local_id = None):
|
def do_send_message(message, rendered_content = None, no_log = False, stream = None, local_id = None):
|
||||||
|
|||||||
Reference in New Issue
Block a user