Disable push notifications regardless of idle status for zulip.com

(imported from commit a1a1d551b7bf1423ecb31cf6a230f59c888a8a82)
This commit is contained in:
Leo Franchi
2014-02-14 13:35:27 -05:00
parent 0b0b9b9379
commit 54e24a5765

View File

@@ -300,7 +300,7 @@ def log_message(message):
def always_push_notify(user):
# robinhood.io asked to get push notifications for **all** notifyable
# 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
def do_send_message(message, rendered_content = None, no_log = False, stream = None, local_id = None):