mirror of
https://mau.dev/maunium/synapse.git
synced 2024-12-16 06:03:54 +01:00
Merge pull request #623 from matrix-org/rav/fix_createroom_race
Make sure we add all invited members before returning from createRoom
This commit is contained in:
commit
09b1d98070
1 changed files with 1 additions and 1 deletions
|
@ -210,7 +210,7 @@ class RoomCreationHandler(BaseHandler):
|
||||||
ratelimit=False)
|
ratelimit=False)
|
||||||
|
|
||||||
for invitee in invite_list:
|
for invitee in invite_list:
|
||||||
room_member_handler.update_membership(
|
yield room_member_handler.update_membership(
|
||||||
requester,
|
requester,
|
||||||
UserID.from_string(invitee),
|
UserID.from_string(invitee),
|
||||||
room_id,
|
room_id,
|
||||||
|
|
Loading…
Reference in a new issue