summary refs log tree commit diff
path: root/synapse/api/constants.py
diff options
context:
space:
mode:
authorAndrew Morgan <andrew@amorgan.xyz>2021-04-23 17:51:52 +0100
committerAndrew Morgan <andrew@amorgan.xyz>2021-04-23 17:51:52 +0100
commit67b2aa8b9fe4c969f3e46b8a206a4f706806e19e (patch)
tree541a45ca5224603ee50b332f9a26e4954c16a855 /synapse/api/constants.py
parentMerge commit 'cc324d53f' into anoa/dinsic_release_1_31_0 (diff)
parentfederation_client: handle inline signing_keys in hs.yaml (#9647) (diff)
downloadsynapse-67b2aa8b9fe4c969f3e46b8a206a4f706806e19e.tar.xz
Merge commit '0e3558473' into anoa/dinsic_release_1_31_0
Diffstat (limited to 'synapse/api/constants.py')
-rw-r--r--synapse/api/constants.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/synapse/api/constants.py b/synapse/api/constants.py

index 691f8f9adf..ed050c8104 100644 --- a/synapse/api/constants.py +++ b/synapse/api/constants.py
@@ -100,6 +100,9 @@ class EventTypes: Dummy = "org.matrix.dummy_event" + MSC1772_SPACE_CHILD = "org.matrix.msc1772.space.child" + MSC1772_SPACE_PARENT = "org.matrix.msc1772.space.parent" + class EduTypes: Presence = "m.presence" @@ -160,6 +163,9 @@ class EventContentFields: # cf https://github.com/matrix-org/matrix-doc/pull/2228 SELF_DESTRUCT_AFTER = "org.matrix.self_destruct_after" + # cf https://github.com/matrix-org/matrix-doc/pull/1772 + MSC1772_ROOM_TYPE = "org.matrix.msc1772.type" + class RoomEncryptionAlgorithms: MEGOLM_V1_AES_SHA2 = "m.megolm.v1.aes-sha2"