SYN-149: Enable auth for events added during room creation since they should pass auth checks

This commit is contained in:
Mark Haines 2014-11-18 15:42:53 +00:00
parent 95614e5220
commit b01dd76be1

View File

@ -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(