mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-04 06:05:02 -04:00
Populate rooms.creator
field for easy lookup (#10697)
Part of https://github.com/matrix-org/synapse/pull/10566 - Fill in creator whenever we insert into the rooms table - Add background update to backfill any missing creator values
This commit is contained in:
parent
e059094119
commit
dc75fb7f05
6 changed files with 213 additions and 4 deletions
|
@ -198,6 +198,9 @@ class EventContentFields:
|
|||
# cf https://github.com/matrix-org/matrix-doc/pull/1772
|
||||
ROOM_TYPE = "type"
|
||||
|
||||
# The creator of the room, as used in `m.room.create` events.
|
||||
ROOM_CREATOR = "creator"
|
||||
|
||||
# Used on normal messages to indicate they were historically imported after the fact
|
||||
MSC2716_HISTORICAL = "org.matrix.msc2716.historical"
|
||||
# For "insertion" events to indicate what the next chunk ID should be in
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue