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

Claim fallback keys in bulk #16570

Merged
merged 9 commits into from
Oct 30, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove redundant list() call
  • Loading branch information
David Robertson authored Oct 30, 2023
commit d64b0c49e69eb66546e962121cf8b604d398c3b3
2 changes: 1 addition & 1 deletion synapse/storage/databases/main/end_to_end_keys.py
Original file line number Diff line number Diff line change
Expand Up @@ -1298,7 +1298,7 @@ def _claim_e2e_fallback_keys_bulk_txn(
"""
claimed_keys = cast(
List[Tuple[str, str, str, str, str]],
list(txn.execute_values(sql, query_list)),
txn.execute_values(sql, query_list),
)

seen_user_device: Set[Tuple[str, str]] = set()
Expand Down