diff options
author | Erik Johnston <erik@matrix.org> | 2016-01-19 11:27:27 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2016-01-19 11:27:27 +0000 |
commit | 47e7963e50704a1a981b8c009f8403085be721a6 (patch) | |
tree | 1a8b4930d67c314c21d40e8e48436a0b246476f1 /synapse/handlers/sync.py | |
parent | Merge pull request #503 from matrix-org/daniel/nonghosts (diff) | |
parent | Take a deepcopy of push rules before mutating them (diff) | |
download | synapse-47e7963e50704a1a981b8c009f8403085be721a6.tar.xz |
Merge pull request #502 from matrix-org/erikj/push_notif_perf
Unread notification performance.
Diffstat (limited to 'synapse/handlers/sync.py')
-rw-r--r-- | synapse/handlers/sync.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/synapse/handlers/sync.py b/synapse/handlers/sync.py index 1942268c3c..52202d8e63 100644 --- a/synapse/handlers/sync.py +++ b/synapse/handlers/sync.py @@ -841,9 +841,6 @@ 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 ) |