summary refs log tree commit diff
path: root/synapse/handlers/room.py
diff options
context:
space:
mode:
authorMark Haines <mark.haines@matrix.org>2014-11-18 15:42:53 +0000
committerMark Haines <mark.haines@matrix.org>2014-11-18 15:42:53 +0000
commitb01dd76be105a90f1b5aa7083f43faf7b44693f3 (patch)
tree9adc0233df368284aabaf3816d5a566603bb92c4 /synapse/handlers/room.py
parentFix auth to correctly handle initial creation of rooms (diff)
downloadsynapse-b01dd76be105a90f1b5aa7083f43faf7b44693f3.tar.xz
SYN-149: Enable auth for events added during room creation since they should pass auth checks
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 4f47f5b6ae..d09743ed1b 100644
--- a/synapse/handlers/room.py
+++ b/synapse/handlers/room.py
@@ -131,7 +131,7 @@ class RoomCreationHandler(BaseHandler):
             if event.type == RoomMemberEvent.TYPE:
                 yield room_member_handler.change_membership(
                     event,
-                    do_auth=False
+                    do_auth=True
                 )
             else:
                 yield self._on_new_room_event(