summary refs log tree commit diff
path: root/synapse/handlers
diff options
context:
space:
mode:
authorKegan Dougal <kegan@matrix.org>2015-02-26 16:23:01 +0000
committerKegan Dougal <kegan@matrix.org>2015-02-26 16:23:01 +0000
commitdcec7175dc30754603618351b59bc72ff41d305b (patch)
tree4fdfedeabb35fa5696653d2c2e12f2a5ec27cdbb /synapse/handlers
parentFinish impl to extract all room IDs an AS may be interested in when polling t... (diff)
downloadsynapse-dcec7175dc30754603618351b59bc72ff41d305b.tar.xz
Finish impl to get new events for AS. ASes should now be able to poll /events
Diffstat (limited to 'synapse/handlers')
-rw-r--r--synapse/handlers/room.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/synapse/handlers/room.py b/synapse/handlers/room.py
index a8b0c95636..80f7ee3f12 100644
--- a/synapse/handlers/room.py
+++ b/synapse/handlers/room.py
@@ -566,7 +566,9 @@ class RoomEventSource(object):
 
         to_key = yield self.get_current_key()
 
-        app_service = self.store.get_app_service_by_user_id(user.to_string())
+        app_service = yield self.store.get_app_service_by_user_id(
+            user.to_string()
+        )
         if app_service:
             events, end_key = yield self.store.get_appservice_room_stream(
                 service=app_service,