summary refs log tree commit diff
path: root/synapse/handlers/events.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-03-09 16:43:09 +0000
committerErik Johnston <erik@matrix.org>2015-03-09 16:43:09 +0000
commit8e28db5cc9fa55ec9ceb641ac91dcd58c2c633d5 (patch)
tree4a74f4d6286ba809df43e23f4c61724465fff076 /synapse/handlers/events.py
parentD'oh: underscore, not hyphen (diff)
downloadsynapse-8e28db5cc9fa55ec9ceb641ac91dcd58c2c633d5.tar.xz
Change room handlers get_rooms_for_user to get_joined_rooms_for_user. This uses the a storage api that is cached.
Diffstat (limited to 'synapse/handlers/events.py')
-rw-r--r--synapse/handlers/events.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/events.py b/synapse/handlers/events.py
index d3297b7292..f9f855213b 100644
--- a/synapse/handlers/events.py
+++ b/synapse/handlers/events.py
@@ -71,7 +71,7 @@ class EventStreamHandler(BaseHandler):
                 self._streams_per_user[auth_user] += 1
 
             rm_handler = self.hs.get_handlers().room_member_handler
-            room_ids = yield rm_handler.get_rooms_for_user(auth_user)
+            room_ids = yield rm_handler.get_joined_rooms_for_user(auth_user)
 
             if timeout:
                 # If they've set a timeout set a minimum limit.