summary refs log tree commit diff
path: root/synapse/api/constants.py
diff options
context:
space:
mode:
authorAndrew Morgan <1342360+anoadragon453@users.noreply.github.com>2020-08-18 09:27:39 +0100
committerGitHub <noreply@github.com>2020-08-18 09:27:39 +0100
commitb90ecbe9e51211fb9cca46cf6e6898974d8d8686 (patch)
treee62aa554369f36251fbcb72e3093e7fb2d28b9c9 /synapse/api/constants.py
parentAdd option to autobind user's email on registration (#51) (diff)
parentChangelog (diff)
downloadsynapse-b90ecbe9e51211fb9cca46cf6e6898974d8d8686.tar.xz
Merge pull request #53 from matrix-org/anoa/dinsic_release_1_18_x
Merge Synapse release v1.18.0 into 'dinsic'
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