mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-03 00:44:49 -04:00
Use get_current_users_in_room from store and not StateHandler (#9910)
This commit is contained in:
parent
d5305000f1
commit
d0aee697ac
12 changed files with 26 additions and 17 deletions
|
@ -103,7 +103,7 @@ class EventStreamHandler(BaseHandler):
|
|||
# Send down presence.
|
||||
if event.state_key == auth_user_id:
|
||||
# Send down presence for everyone in the room.
|
||||
users = await self.state.get_current_users_in_room(
|
||||
users = await self.store.get_users_in_room(
|
||||
event.room_id
|
||||
) # type: Iterable[str]
|
||||
else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue