summary refs log tree commit diff
path: root/synapse/storage/data_stores/main
diff options
context:
space:
mode:
authorBrendan Abolivier <babolivier@matrix.org>2019-11-06 11:04:19 +0000
committerBrendan Abolivier <babolivier@matrix.org>2019-11-06 11:04:19 +0000
commit24a214bd1bc396cbcc41c4c913938299ca9ffcf5 (patch)
tree01166313b8ccc9a6a4bb4ac66133ca27f34aa531 /synapse/storage/data_stores/main
parentUpdate insert (diff)
downloadsynapse-24a214bd1bc396cbcc41c4c913938299ca9ffcf5.tar.xz
Fix field name
Diffstat (limited to 'synapse/storage/data_stores/main')
-rw-r--r--synapse/storage/data_stores/main/events_bg_updates.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/data_stores/main/events_bg_updates.py b/synapse/storage/data_stores/main/events_bg_updates.py
index 2fcb0c33dc..309bfcafe5 100644
--- a/synapse/storage/data_stores/main/events_bg_updates.py
+++ b/synapse/storage/data_stores/main/events_bg_updates.py
@@ -544,7 +544,7 @@ class EventsBackgroundUpdatesStore(BackgroundUpdateStore):
                             "topological_ordering": event_json["depth"],
                         }
                         for label in event_json["content"].get(
-                            EventContentFields.Labels, []
+                            EventContentFields.LABELS, []
                         )
                     ],
                 )