Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Commit 63042ac

Browse files
committed
Use get_device (fixing in upstream develop)
1 parent 11e2192 commit 63042ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

synapse/api/auth.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ async def _get_appservice_user_id_and_device_id(
346346
effective_device_id = request.args[DEVICE_ID_ARG_NAME][0].decode("utf8")
347347
# We only just set this so it can't be None!
348348
assert effective_device_id is not None
349-
device_opt = await self.store.get_device_opt(
349+
device_opt = await self.store.get_device(
350350
effective_user_id, effective_device_id
351351
)
352352
if device_opt is None:

0 commit comments

Comments
 (0)