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