mirror of
https://mau.dev/maunium/synapse.git
synced 2024-11-16 23:11:34 +01:00
SYN-149: Enable auth for events added during room creation since they should pass auth checks
This commit is contained in:
parent
95614e5220
commit
b01dd76be1
1 changed files with 1 additions and 1 deletions
|
@ -131,7 +131,7 @@ class RoomCreationHandler(BaseHandler):
|
||||||
if event.type == RoomMemberEvent.TYPE:
|
if event.type == RoomMemberEvent.TYPE:
|
||||||
yield room_member_handler.change_membership(
|
yield room_member_handler.change_membership(
|
||||||
event,
|
event,
|
||||||
do_auth=False
|
do_auth=True
|
||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
yield self._on_new_room_event(
|
yield self._on_new_room_event(
|
||||||
|
|
Loading…
Reference in a new issue