mirror of
https://mau.dev/maunium/synapse.git
synced 2024-08-22 02:05:24 +00:00
Update insert
This commit is contained in:
parent
f5d8fdf0a7
commit
70d93cafdb
@ -537,7 +537,12 @@ class EventsBackgroundUpdatesStore(BackgroundUpdateStore):
|
|||||||
txn=txn,
|
txn=txn,
|
||||||
table="event_labels",
|
table="event_labels",
|
||||||
values=[
|
values=[
|
||||||
{"event_id": event_id, "label": label}
|
{
|
||||||
|
"event_id": event_id,
|
||||||
|
"label": label,
|
||||||
|
"room_id": event_json["room_id"],
|
||||||
|
"topological_ordering": event_json["depth"],
|
||||||
|
}
|
||||||
for label in event_json["content"].get(
|
for label in event_json["content"].get(
|
||||||
EventContentFields.Labels, []
|
EventContentFields.Labels, []
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user