summary refs log tree commit diff
path: root/synapse/api/constants.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2021-05-06 10:25:53 +0100
committerErik Johnston <erik@matrix.org>2021-05-06 10:25:53 +0100
commita8f48246b64a2019e5167a9427517b05afe718a0 (patch)
tree68325cf8b1f12b42d6252d1314890e78708b9200 /synapse/api/constants.py
parentMerge branch 'release-v1.33.0' of github.com:matrix-org/synapse into matrix-o... (diff)
parentFollow-up to #9915 to correct the identifier for room types. (diff)
downloadsynapse-a8f48246b64a2019e5167a9427517b05afe718a0.tar.xz
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
Diffstat (limited to 'synapse/api/constants.py')
-rw-r--r--synapse/api/constants.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/synapse/api/constants.py b/synapse/api/constants.py

index 936b6534b4..ab628b2be7 100644 --- a/synapse/api/constants.py +++ b/synapse/api/constants.py
@@ -110,6 +110,8 @@ class EventTypes: Dummy = "org.matrix.dummy_event" + SpaceChild = "m.space.child" + SpaceParent = "m.space.parent" MSC1772_SPACE_CHILD = "org.matrix.msc1772.space.child" MSC1772_SPACE_PARENT = "org.matrix.msc1772.space.parent" @@ -174,6 +176,7 @@ class EventContentFields: SELF_DESTRUCT_AFTER = "org.matrix.self_destruct_after" # cf https://github.com/matrix-org/matrix-doc/pull/1772 + ROOM_TYPE = "type" MSC1772_ROOM_TYPE = "org.matrix.msc1772.type"