diff options
author | Amber Brown <hawkowl@atleastfornow.net> | 2019-11-01 02:43:24 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-01 02:43:24 +1100 |
commit | 020add50997f697c7847ac84b86b457ba2f3e32d (patch) | |
tree | 4fe9abbcd1cac11bfe9077a85ceabd7bf9ea94ce /synapse/handlers/register.py | |
parent | Merge pull request #6294 from matrix-org/erikj/add_state_storage (diff) | |
download | synapse-020add50997f697c7847ac84b86b457ba2f3e32d.tar.xz |
Update black to 19.10b0 (#6304)
* update version of black and also fix the mypy config being overridden
Diffstat (limited to 'synapse/handlers/register.py')
-rw-r--r-- | synapse/handlers/register.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/handlers/register.py b/synapse/handlers/register.py index 53410f120b..cff6b0d375 100644 --- a/synapse/handlers/register.py +++ b/synapse/handlers/register.py @@ -396,8 +396,8 @@ class RegistrationHandler(BaseHandler): room_id = room_identifier elif RoomAlias.is_valid(room_identifier): room_alias = RoomAlias.from_string(room_identifier) - room_id, remote_room_hosts = ( - yield room_member_handler.lookup_room_alias(room_alias) + room_id, remote_room_hosts = yield room_member_handler.lookup_room_alias( + room_alias ) room_id = room_id.to_string() else: |