diff options
author | Erik Johnston <erik@matrix.org> | 2021-05-05 16:49:34 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-05 16:49:34 +0100 |
commit | d0aee697ac0587c005bc1048f5036979331f1101 (patch) | |
tree | c0bf6d4529c11b59fde71533b4e06def8e196375 /synapse/handlers/presence.py | |
parent | Docker healthcheck timings - add startup delay and changed interval (#9913) (diff) | |
download | synapse-d0aee697ac0587c005bc1048f5036979331f1101.tar.xz |
Use get_current_users_in_room from store and not StateHandler (#9910)
Diffstat (limited to 'synapse/handlers/presence.py')
-rw-r--r-- | synapse/handlers/presence.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/presence.py b/synapse/handlers/presence.py index ebbc234334..8e085dfbec 100644 --- a/synapse/handlers/presence.py +++ b/synapse/handlers/presence.py @@ -1293,7 +1293,7 @@ class PresenceHandler(BasePresenceHandler): remote_host = get_domain_from_id(user_id) - users = await self.state.get_current_users_in_room(room_id) + users = await self.store.get_users_in_room(room_id) user_ids = list(filter(self.is_mine_id, users)) states_d = await self.current_state_for_users(user_ids) |