mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-10-01 08:25:44 -04:00
Use a sensible default value for labels
This commit is contained in:
parent
a46574281d
commit
07cb38e965
@ -540,7 +540,7 @@ class EventsBackgroundUpdatesStore(BackgroundUpdateStore):
|
||||
"event_id": event_id,
|
||||
"label": label,
|
||||
}
|
||||
for label in event_json["content"].get(LabelsField)
|
||||
for label in event_json["content"].get(LabelsField, [])
|
||||
]
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user