mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-10-01 11:49:51 -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,
|
"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 New Issue
Block a user