Remove unnecessary variable declaration

code_spécifique_watcha
Andrew Morgan 5 years ago
parent 894c1a5759
commit a98b8583c6
  1. 1
      synapse/handlers/register.py

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

Loading…
Cancel
Save