diff options
author | Andrew Morgan <1342360+anoadragon453@users.noreply.github.com> | 2021-07-27 14:36:38 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-27 14:36:38 +0100 |
commit | 74d09a43d9e0f65f1292aa51f58ea676e4aefc7f (patch) | |
tree | 3e16bb542297d2e2b6a68ed79d866afec9513207 /synapse/api | |
parent | Change release script to update debian changelog for RCs (#10465) (diff) | |
download | synapse-74d09a43d9e0f65f1292aa51f58ea676e4aefc7f.tar.xz |
Always communicate device OTK counts to clients (#10485)
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
Diffstat (limited to 'synapse/api')
-rw-r--r-- | synapse/api/constants.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/synapse/api/constants.py b/synapse/api/constants.py index 8363c2bb0f..8c7ad2a407 100644 --- a/synapse/api/constants.py +++ b/synapse/api/constants.py @@ -127,6 +127,14 @@ class ToDeviceEventTypes: RoomKeyRequest = "m.room_key_request" +class DeviceKeyAlgorithms: + """Spec'd algorithms for the generation of per-device keys""" + + ED25519 = "ed25519" + CURVE25519 = "curve25519" + SIGNED_CURVE25519 = "signed_curve25519" + + class EduTypes: Presence = "m.presence" |