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

Commit 208ec1a

Browse files
committed
Fix invalidating a non-tuple
Would have been caught by #14685
1 parent 3e62551 commit 208ec1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

synapse/storage/databases/main/events_worker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,7 @@ def process_replication_rows(
396396
for row in rows:
397397
assert isinstance(row, UnPartialStatedEventStreamRow)
398398

399-
self.is_partial_state_event.invalidate(row.event_id)
399+
self.is_partial_state_event.invalidate((row.event_id,))
400400

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

0 commit comments

Comments
 (0)