summary refs log tree commit diff
path: root/synapse/api/constants.py
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2021-07-01 08:59:54 +0100
committerRichard van der Hoff <richard@matrix.org>2021-07-01 08:59:54 +0100
commit7eea8de9de653bc160dada0bf0f87eb6d1256acc (patch)
treee363a57eb7a28a2b32fcc1e2b349e402728c87ab /synapse/api/constants.py
parentbump background update rate (diff)
parentFix the homeserver config example in presence router docs (#10288) (diff)
downloadsynapse-7eea8de9de653bc160dada0bf0f87eb6d1256acc.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.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/synapse/api/constants.py b/synapse/api/constants.py

index 414e4c019a..8363c2bb0f 100644 --- a/synapse/api/constants.py +++ b/synapse/api/constants.py
@@ -201,6 +201,12 @@ class EventContentFields: ) +class RoomTypes: + """Understood values of the room_type field of m.room.create events.""" + + SPACE = "m.space" + + class RoomEncryptionAlgorithms: MEGOLM_V1_AES_SHA2 = "m.megolm.v1.aes-sha2" DEFAULT = MEGOLM_V1_AES_SHA2