summary refs log tree commit diff
path: root/synapse/handlers/register.py
diff options
context:
space:
mode:
authorPatrick Cloke <clokep@users.noreply.github.com>2021-03-17 07:14:39 -0400
committerGitHub <noreply@github.com>2021-03-17 07:14:39 -0400
commitb449af0379db871945f32a572883d47b5c9018a3 (patch)
treee9b5b4ad421e63260d1de848ed0867fde0d8fff5 /synapse/handlers/register.py
parentEnable flake8-bugbear, but disable most checks. (#9499) (diff)
downloadsynapse-b449af0379db871945f32a572883d47b5c9018a3.tar.xz
Add type hints to the room member handler. (#9631)
Diffstat (limited to 'synapse/handlers/register.py')
-rw-r--r--synapse/handlers/register.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/handlers/register.py b/synapse/handlers/register.py

index 1abc8875cb..d7f226d589 100644 --- a/synapse/handlers/register.py +++ b/synapse/handlers/register.py
@@ -437,10 +437,10 @@ class RegistrationHandler(BaseHandler): if RoomAlias.is_valid(r): ( - room_id, + room, remote_room_hosts, ) = await room_member_handler.lookup_room_alias(room_alias) - room_id = room_id.to_string() + room_id = room.to_string() else: raise SynapseError( 400, "%s was not legal room ID or room alias" % (r,)