0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-14 12:23:48 +01:00

Remove unnecessary variable declaration

This commit is contained in:
Andrew Morgan 2019-09-03 19:58:51 +01:00
parent 894c1a5759
commit a98b8583c6

View file

@ -397,7 +397,6 @@ class RegistrationHandler(BaseHandler):
@defer.inlineCallbacks
def _join_user_to_room(self, requester, room_identifier):
room_id = None
room_member_handler = self.hs.get_room_member_handler()
if RoomID.is_valid(room_identifier):
room_id = room_identifier