summary refs log tree commit diff
path: root/synapse/api/constants.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2020-06-17 14:38:15 +0100
committerErik Johnston <erik@matrix.org>2020-06-17 14:38:15 +0100
commit8ba10868011ad7d4a48f5d61cbe3326dc8d4ea47 (patch)
tree8c9a40281198725bb690889a1d659104d1c7f70e /synapse/api/constants.py
parentMerge branch 'release-v1.15.1' into matrix-org-hotfixes (diff)
parentAdd support for using rust-python-jaeger-reporter (#7697) (diff)
downloadsynapse-8ba10868011ad7d4a48f5d61cbe3326dc8d4ea47.tar.xz
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
Diffstat (limited to 'synapse/api/constants.py')
-rw-r--r--synapse/api/constants.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/synapse/api/constants.py b/synapse/api/constants.py

index 5ec4a77ccd..6a6d32c302 100644 --- a/synapse/api/constants.py +++ b/synapse/api/constants.py
@@ -150,3 +150,8 @@ class EventContentFields(object): # Timestamp to delete the event after # cf https://github.com/matrix-org/matrix-doc/pull/2228 SELF_DESTRUCT_AFTER = "org.matrix.self_destruct_after" + + +class RoomEncryptionAlgorithms(object): + MEGOLM_V1_AES_SHA2 = "m.megolm.v1.aes-sha2" + DEFAULT = MEGOLM_V1_AES_SHA2