summary refs log tree commit diff
path: root/synapse/handlers/auth.py
diff options
context:
space:
mode:
authorAndrew Morgan <andrew@amorgan.xyz>2020-12-31 14:34:59 +0000
committerAndrew Morgan <andrew@amorgan.xyz>2020-12-31 14:34:59 +0000
commitde6773523d0dc175f0e8911b328861404fe3f9c5 (patch)
treeb50465cb8cdc4106da909992afd0b60b54697b82 /synapse/handlers/auth.py
parentMerge commit 'c97da1e45' into anoa/dinsic_release_1_23_1 (diff)
parentFix unit tests (#8689) (diff)
downloadsynapse-de6773523d0dc175f0e8911b328861404fe3f9c5.tar.xz
Merge commit 'ef2d62701' into anoa/dinsic_release_1_23_1
Diffstat (limited to 'synapse/handlers/auth.py')
-rw-r--r--synapse/handlers/auth.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/synapse/handlers/auth.py b/synapse/handlers/auth.py

index 276594f3d9..ff103cbb92 100644 --- a/synapse/handlers/auth.py +++ b/synapse/handlers/auth.py
@@ -991,17 +991,17 @@ class AuthHandler(BaseHandler): # This might return an awaitable, if it does block the log out # until it completes. result = provider.on_logged_out( - user_id=str(user_info["user"]), - device_id=user_info["device_id"], + user_id=user_info.user_id, + device_id=user_info.device_id, access_token=access_token, ) if inspect.isawaitable(result): await result # delete pushers associated with this access token - if user_info["token_id"] is not None: + if user_info.token_id is not None: await self.hs.get_pusherpool().remove_pushers_by_access_token( - str(user_info["user"]), (user_info["token_id"],) + user_info.user_id, (user_info.token_id,) ) async def delete_access_tokens_for_user(