diff options
author | Andrew Morgan <andrew@amorgan.xyz> | 2019-09-03 19:58:51 +0100 |
---|---|---|
committer | Andrew Morgan <andrew@amorgan.xyz> | 2019-09-03 19:58:51 +0100 |
commit | a98b8583c647d841b49b94a3de030b9e8d5271c0 (patch) | |
tree | bb20c3cd2ee5817e2527de855b65c7c2e17d98fa /synapse/handlers | |
parent | Docker packaging should not su-exec or chmod if already running as UID/GID (#... (diff) | |
download | synapse-a98b8583c647d841b49b94a3de030b9e8d5271c0.tar.xz |
Remove unnecessary variable declaration
Diffstat (limited to '')
-rw-r--r-- | synapse/handlers/register.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/synapse/handlers/register.py b/synapse/handlers/register.py index 3142d85788..1711d5ac5c 100644 --- a/synapse/handlers/register.py +++ b/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 |