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

Commit

Permalink
Fix invalidating a non-tuple
Browse files Browse the repository at this point in the history
Would have been caught by #14685
  • Loading branch information
reivilibre committed Dec 16, 2022
1 parent 3e62551 commit 208ec1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion synapse/storage/databases/main/events_worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ def process_replication_rows(
for row in rows:
assert isinstance(row, UnPartialStatedEventStreamRow)

self.is_partial_state_event.invalidate(row.event_id)
self.is_partial_state_event.invalidate((row.event_id,))

if row.rejection_status_changed:
# If the partial-stated event became rejected or unrejected
Expand Down

0 comments on commit 208ec1a

Please sign in to comment.