summary refs log tree commit diff
path: root/synapse/handlers/sync.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2016-01-14 09:46:09 +0000
committerErik Johnston <erik@matrix.org>2016-01-14 09:46:09 +0000
commit939cbd7057d971f08477382d2aa88afbdc0f1d5e (patch)
tree7e359055122cfbf552c14cbbdf7ca53066f4510f /synapse/handlers/sync.py
parentMerge pull request #488 from matrix-org/markjh/user_name (diff)
parentDon't change signature. Return empty list (diff)
downloadsynapse-939cbd7057d971f08477382d2aa88afbdc0f1d5e.tar.xz
Merge pull request #495 from matrix-org/erikj/disable_notification
Temporarily disable notification branch
Diffstat (limited to '')
-rw-r--r--synapse/handlers/sync.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/synapse/handlers/sync.py b/synapse/handlers/sync.py

index 33c1a4512c..7dfa2eeedb 100644 --- a/synapse/handlers/sync.py +++ b/synapse/handlers/sync.py
@@ -841,6 +841,9 @@ class SyncHandler(BaseHandler): @defer.inlineCallbacks def unread_notifs_for_room_id(self, room_id, sync_config, ephemeral_by_room): + # Temporarily disable notifications due to performance concerns. + defer.returnValue([]) + last_unread_event_id = self.last_read_event_id_for_room_and_user( room_id, sync_config.user.to_string(), ephemeral_by_room )