summary refs log tree commit diff
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2021-04-29 17:35:47 +0100
committerErik Johnston <erik@matrix.org>2021-04-29 17:35:47 +0100
commit996c0ce3d51d441f06c4122294c8eabe27722109 (patch)
treee15f5bcbe19a162118b1b8074373e0db80b6368f
parentMerge tag 'v1.33.0rc2' into develop (diff)
downloadsynapse-996c0ce3d51d441f06c4122294c8eabe27722109.tar.xz
Use get_current_users_in_room from store and not StateHandler
-rw-r--r--synapse/handlers/presence.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/presence.py b/synapse/handlers/presence.py
index ebbc234334..deed3ee0a7 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_current_users_in_room(room_id)
             user_ids = list(filter(self.is_mine_id, users))
 
             states_d = await self.current_state_for_users(user_ids)