Fix field name

This commit is contained in:
Brendan Abolivier 2019-11-06 11:04:19 +00:00
parent 70d93cafdb
commit 24a214bd1b
No known key found for this signature in database
GPG Key ID: 1E015C145F1916CD

View File

@ -544,7 +544,7 @@ class EventsBackgroundUpdatesStore(BackgroundUpdateStore):
"topological_ordering": event_json["depth"], "topological_ordering": event_json["depth"],
} }
for label in event_json["content"].get( for label in event_json["content"].get(
EventContentFields.Labels, [] EventContentFields.LABELS, []
) )
], ],
) )