diff options
author | Kegan Dougal <kegan@matrix.org> | 2015-02-26 16:23:01 +0000 |
---|---|---|
committer | Kegan Dougal <kegan@matrix.org> | 2015-02-26 16:23:01 +0000 |
commit | dcec7175dc30754603618351b59bc72ff41d305b (patch) | |
tree | 4fdfedeabb35fa5696653d2c2e12f2a5ec27cdbb /synapse/handlers/room.py | |
parent | Finish impl to extract all room IDs an AS may be interested in when polling t... (diff) | |
download | synapse-dcec7175dc30754603618351b59bc72ff41d305b.tar.xz |
Finish impl to get new events for AS. ASes should now be able to poll /events
Diffstat (limited to 'synapse/handlers/room.py')
-rw-r--r-- | synapse/handlers/room.py | 4 |
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, |