mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 08:56:04 -04:00
Faster room joins: make /joined_members
block whilst the room is partial stated. (#13514)
This commit is contained in:
parent
5442891cbc
commit
c3516e9dec
4 changed files with 22 additions and 1 deletions
|
@ -331,7 +331,11 @@ class MessageHandler:
|
|||
msg="Getting joined members while not being a current member of the room is forbidden.",
|
||||
)
|
||||
|
||||
users_with_profile = await self.store.get_users_in_room_with_profiles(room_id)
|
||||
users_with_profile = (
|
||||
await self._state_storage_controller.get_users_in_room_with_profiles(
|
||||
room_id
|
||||
)
|
||||
)
|
||||
|
||||
# If this is an AS, double check that they are allowed to see the members.
|
||||
# This can either be because the AS user is in the room or because there
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue