Skip to content
Snippets Groups Projects
Unverified Commit 6d360f09 authored by Brendan Abolivier's avatar Brendan Abolivier Committed by GitHub
Browse files

Update synapse/storage/data_stores/main/events_bg_updates.py

parent c9b27d00
No related branches found
No related tags found
No related merge requests found
...@@ -545,7 +545,7 @@ class EventsBackgroundUpdatesStore(BackgroundUpdateStore): ...@@ -545,7 +545,7 @@ class EventsBackgroundUpdatesStore(BackgroundUpdateStore):
for label in event_json["content"].get( for label in event_json["content"].get(
EventContentFields.LABELS, [] EventContentFields.LABELS, []
) )
if label is not None and isinstance(label, str) if isinstance(label, str)
], ],
) )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment