summary refs log tree commit diff
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2016-03-04 00:06:03 +0000
committerRichard van der Hoff <richard@matrix.org>2016-03-04 00:06:03 +0000
commita92b4ea76fab9475483f345d998206d00f64b20f (patch)
tree329800d6abae922094e08185ad7ee2763c092a18
parentjenkins-*.sh: set -x (diff)
downloadsynapse-a92b4ea76fab9475483f345d998206d00f64b20f.tar.xz
Make sure we add all invited members before returning from createRoom
add a missing yield.
Diffstat (limited to '')
-rw-r--r--synapse/handlers/room.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/room.py b/synapse/handlers/room.py
index 91fe306cf4..2fb417b0c5 100644
--- a/synapse/handlers/room.py
+++ b/synapse/handlers/room.py
@@ -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,