From 30223fe8d891b003236547fd9683f1c356941ec4 Mon Sep 17 00:00:00 2001 From: "Olivier Wilkinson (reivilibre)" Date: Fri, 17 Jun 2022 12:39:54 +0100 Subject: [PATCH] Fix type error introduced accidentally by #13045 --- synapse/storage/databases/main/devices.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/synapse/storage/databases/main/devices.py b/synapse/storage/databases/main/devices.py index 93d980786e03..adde5d097810 100644 --- a/synapse/storage/databases/main/devices.py +++ b/synapse/storage/databases/main/devices.py @@ -1245,8 +1245,8 @@ async def get_device_list_changes_in_rooms( def _get_device_list_changes_in_rooms_txn( txn: LoggingTransaction, - clause, - args, + clause: str, + args: List[Any], ) -> Set[str]: txn.execute(sql.format(clause=clause), args) return {user_id for user_id, in txn}