summary refs log tree commit diff
path: root/synapse/storage/databases
diff options
context:
space:
mode:
authorPatrick Cloke <clokep@users.noreply.github.com>2021-03-10 08:55:52 -0500
committerGitHub <noreply@github.com>2021-03-10 08:55:52 -0500
commit918f6ed827ceabc052eddba15d2e6aeefe36be23 (patch)
tree65c42ee91d9e429049118bcd13f3786a06838deb /synapse/storage/databases
parentDo not ignore the unpaddedbase64 module when type checking. (#9568) (diff)
downloadsynapse-918f6ed827ceabc052eddba15d2e6aeefe36be23.tar.xz
Fix a bug in the background task for purging chain cover. (#9583)
Diffstat (limited to 'synapse/storage/databases')
-rw-r--r--synapse/storage/databases/main/events_bg_updates.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/databases/main/events_bg_updates.py b/synapse/storage/databases/main/events_bg_updates.py
index 73e69d4cb1..78367ea58d 100644
--- a/synapse/storage/databases/main/events_bg_updates.py
+++ b/synapse/storage/databases/main/events_bg_updates.py
@@ -969,7 +969,7 @@ class EventsBackgroundUpdatesStore(SQLBaseStore):
             event_id = ""
             for event_id, chain_id, sequence_number, has_event in rows:
                 if not has_event:
-                    unreferenced_event_ids.append(event_id)
+                    unreferenced_event_ids.append((event_id,))
                     unreferenced_chain_id_tuples.append((chain_id, sequence_number))
 
             # Delete the unreferenced auth chains from event_auth_chain_links and