mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-03 00:44:49 -04:00
Finish impl to get new events for AS. ASes should now be able to poll /events
This commit is contained in:
parent
92478e96d6
commit
dcec7175dc
2 changed files with 58 additions and 8 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue