0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-14 00:43:46 +01:00

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

Co-Authored-By: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
This commit is contained in:
Brendan Abolivier 2019-11-07 17:01:43 +00:00 committed by GitHub
parent c9b27d0044
commit 6d360f099f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -545,7 +545,7 @@ class EventsBackgroundUpdatesStore(BackgroundUpdateStore):
for label in event_json["content"].get(
EventContentFields.LABELS, []
)
if label is not None and isinstance(label, str)
if isinstance(label, str)
],
)