summary refs log tree commit diff
path: root/synapse/handlers
diff options
context:
space:
mode:
authorDavid Baker <dave@matrix.org>2015-12-22 17:19:22 +0000
committerDavid Baker <dave@matrix.org>2015-12-22 17:19:22 +0000
commit5645d9747b17e9d119cc7badd7c2abe3c157a1a6 (patch)
treee8e2c018430089a5705f650ba36115df030e0d9b /synapse/handlers
parentRemove the list of problems (moved to jira issues) (diff)
downloadsynapse-5645d9747b17e9d119cc7badd7c2abe3c157a1a6.tar.xz
Add some comments to areas that could be optimised.
Diffstat (limited to 'synapse/handlers')
-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 4cbb43a31b..fa5e954e01 100644
--- a/synapse/handlers/sync.py
+++ b/synapse/handlers/sync.py
@@ -447,6 +447,9 @@ class SyncHandler(BaseHandler):
         )
         now_token = now_token.copy_and_replace("presence_key", presence_key)
 
+        # We now fetch all ephemeral events for this room in order to get
+        # this users current read receipt. This could almost certainly be
+        # optimised.
         _, all_ephemeral_by_room = yield self.ephemeral_by_room(
             sync_config, now_token
         )