diff options
author | Erik Johnston <erik@matrix.org> | 2016-01-13 17:43:39 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2016-01-13 17:43:39 +0000 |
commit | 2655d61d703cc6718f669dd43e814862750b7748 (patch) | |
tree | 7e359055122cfbf552c14cbbdf7ca53066f4510f /synapse/handlers | |
parent | Temporarily disable notification branch (diff) | |
download | synapse-2655d61d703cc6718f669dd43e814862750b7748.tar.xz |
Don't change signature. Return empty list
Diffstat (limited to '')
-rw-r--r-- | synapse/handlers/sync.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/handlers/sync.py b/synapse/handlers/sync.py index 69707c47ed..7dfa2eeedb 100644 --- a/synapse/handlers/sync.py +++ b/synapse/handlers/sync.py @@ -840,9 +840,9 @@ class SyncHandler(BaseHandler): return False @defer.inlineCallbacks - def unreadnotifs_for_room_id(self, room_id, sync_config, ephemeral_by_room): + def unread_notifs_for_room_id(self, room_id, sync_config, ephemeral_by_room): # Temporarily disable notifications due to performance concerns. - return + 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 |