mirror of
https://mau.dev/maunium/synapse.git
synced 2024-10-01 01:36:05 -04:00
Make sure we add all invited members before returning from createRoom
add a missing yield.
This commit is contained in:
parent
62d808becc
commit
a92b4ea76f
@ -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 New Issue
Block a user