mirror of
https://mau.dev/maunium/synapse.git
synced 2024-12-14 19:53:51 +01:00
Use a sensible default value for labels
This commit is contained in:
parent
a46574281d
commit
07cb38e965
1 changed files with 1 additions and 1 deletions
|
@ -540,7 +540,7 @@ class EventsBackgroundUpdatesStore(BackgroundUpdateStore):
|
||||||
"event_id": event_id,
|
"event_id": event_id,
|
||||||
"label": label,
|
"label": label,
|
||||||
}
|
}
|
||||||
for label in event_json["content"].get(LabelsField)
|
for label in event_json["content"].get(LabelsField, [])
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue