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

Commit b26cbe3

Browse files
authored
Fix type error that made its way onto develop (#13098)
* Fix type error introduced accidentally by #13045 * Newsfile Signed-off-by: Olivier Wilkinson (reivilibre) <oliverw@matrix.org>
1 parent 5d6f559 commit b26cbe3

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

changelog.d/13098.feature

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Speed up fetching of device list changes in `/sync` and `/keys/changes`.

synapse/storage/databases/main/devices.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1245,8 +1245,8 @@ async def get_device_list_changes_in_rooms(
12451245

12461246
def _get_device_list_changes_in_rooms_txn(
12471247
txn: LoggingTransaction,
1248-
clause,
1249-
args,
1248+
clause: str,
1249+
args: List[Any],
12501250
) -> Set[str]:
12511251
txn.execute(sql.format(clause=clause), args)
12521252
return {user_id for user_id, in txn}

0 commit comments

Comments
 (0)