diff options
author | Shay <hillerys@element.io> | 2022-08-24 14:18:31 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-24 14:18:31 -0700 |
commit | 172b651832cea2d832beb5c4ff5bfae4581c8e63 (patch) | |
tree | ebd49a80d21b84b51606da49d2a94241d4f1c13a /synapse/handlers/presence.py | |
parent | fix test to align with new behaviour (diff) | |
parent | Rename `event_map` to `unpersisted_events` (#13603) (diff) | |
download | synapse-172b651832cea2d832beb5c4ff5bfae4581c8e63.tar.xz |
Merge branch 'develop' into shay/batch_events
Diffstat (limited to 'synapse/handlers/presence.py')
-rw-r--r-- | synapse/handlers/presence.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/synapse/handlers/presence.py b/synapse/handlers/presence.py index 741504ba9f..4e575ffbaa 100644 --- a/synapse/handlers/presence.py +++ b/synapse/handlers/presence.py @@ -2051,8 +2051,7 @@ async def get_interested_remotes( ) for room_id, states in room_ids_to_states.items(): - user_ids = await store.get_users_in_room(room_id) - hosts = {get_domain_from_id(user_id) for user_id in user_ids} + hosts = await store.get_current_hosts_in_room(room_id) for host in hosts: hosts_and_states.setdefault(host, set()).update(states) |