0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-11-15 14:32:30 +01:00

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>
This commit is contained in:
reivilibre 2022-06-17 13:05:27 +01:00 committed by GitHub
parent 5d6f55959e
commit b26cbe3d45
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View file

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

View file

@ -1245,8 +1245,8 @@ class DeviceWorkerStore(EndToEndKeyWorkerStore):
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}