Make sure we add all invited members before returning from createRoom

add a missing yield.
pull/623/head
Richard van der Hoff 2016-03-04 00:06:03 +00:00
parent 62d808becc
commit a92b4ea76f
1 changed files with 1 additions and 1 deletions

View File

@ -210,7 +210,7 @@ class RoomCreationHandler(BaseHandler):
ratelimit=False)
for invitee in invite_list:
room_member_handler.update_membership(
yield room_member_handler.update_membership(
requester,
UserID.from_string(invitee),
room_id,