From 2becd5209df07553a759a359bf7c54876e97e64d Mon Sep 17 00:00:00 2001 From: "Olivier Wilkinson (reivilibre)" Date: Mon, 13 Dec 2021 14:47:57 +0000 Subject: [PATCH] TEMPORARY Revert "Use get_device (fixing in upstream develop)" This reverts commit 63042ac19081f1804500f00424632918410506e8. --- synapse/api/auth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/synapse/api/auth.py b/synapse/api/auth.py index 0bf58dff08..0bb4b77f84 100644 --- a/synapse/api/auth.py +++ b/synapse/api/auth.py @@ -346,7 +346,7 @@ class Auth: effective_device_id = request.args[DEVICE_ID_ARG_NAME][0].decode("utf8") # We only just set this so it can't be None! assert effective_device_id is not None - device_opt = await self.store.get_device( + device_opt = await self.store.get_device_opt( effective_user_id, effective_device_id ) if device_opt is None: