diff --git a/synapse/handlers/room.py b/synapse/handlers/room.py index c0f9a7c807..21ae03df0d 100644 --- a/synapse/handlers/room.py +++ b/synapse/handlers/room.py @@ -169,11 +169,6 @@ class RoomCreationHandler(BaseHandler): content=content ) - yield self.hs.get_handlers().room_member_handler.change_membership( - join_event, - do_auth=False - ) - content = {"membership": Membership.INVITE} for invitee in invite_list: invite_event = self.event_factory.create_event(