summary refs log tree commit diff
path: root/synapse/handlers/room.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2017-02-02 13:07:18 +0000
committerErik Johnston <erik@matrix.org>2017-02-02 13:07:18 +0000
commit54a79c1d374f09049d3eb8ac531bca45d68b5f2b (patch)
treeaea0e62e9e7f061b8ecc149e123c3f92881cd7c9 /synapse/handlers/room.py
parentMerge pull request #1872 from matrix-org/erikj/key_changes (diff)
downloadsynapse-54a79c1d374f09049d3eb8ac531bca45d68b5f2b.tar.xz
Make presence.get_new_events a bit faster
We do this by caching the set of users a user shares rooms with.
Diffstat (limited to 'synapse/handlers/room.py')
-rw-r--r--synapse/handlers/room.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/handlers/room.py b/synapse/handlers/room.py
index 5f18007e90..7e7671c9a2 100644
--- a/synapse/handlers/room.py
+++ b/synapse/handlers/room.py
@@ -437,6 +437,7 @@ class RoomEventSource(object):
             limit,
             room_ids,
             is_guest,
+            explicit_room_id=None,
     ):
         # We just ignore the key for now.