Faster room joins: make /joined_members block whilst the room is partial stated. (#13514)

This commit is contained in:
reivilibre 2022-08-16 12:16:56 +00:00 committed by GitHub
parent 5442891cbc
commit c3516e9dec
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 22 additions and 1 deletions

View file

@ -283,6 +283,9 @@ class RoomMemberWorkerStore(EventsWorkerStore):
Returns:
A mapping from user ID to ProfileInfo.
Preconditions:
- There is full state available for the room (it is not partial-stated).
"""
def _get_users_in_room_with_profiles(