summary refs log tree commit diff
path: root/synapse/api
diff options
context:
space:
mode:
authorRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2021-05-11 11:02:56 +0100
committerGitHub <noreply@github.com>2021-05-11 11:02:56 +0100
commit7967b36efe6a033f46cd882d0b31a8c3eb18631c (patch)
tree2949141c3cb6180ff1f3ce6ed5bdb54b4b575e31 /synapse/api
parentImprove performance of backfilling in large rooms. (#9935) (diff)
downloadsynapse-7967b36efe6a033f46cd882d0b31a8c3eb18631c.tar.xz
Fix `m.room_key_request` to-device messages (#9961)
fixes #9960 
Diffstat (limited to 'synapse/api')
-rw-r--r--synapse/api/constants.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/synapse/api/constants.py b/synapse/api/constants.py
index ab628b2be7..3940da5c88 100644
--- a/synapse/api/constants.py
+++ b/synapse/api/constants.py
@@ -116,9 +116,12 @@ class EventTypes:
     MSC1772_SPACE_PARENT = "org.matrix.msc1772.space.parent"
 
 
+class ToDeviceEventTypes:
+    RoomKeyRequest = "m.room_key_request"
+
+
 class EduTypes:
     Presence = "m.presence"
-    RoomKeyRequest = "m.room_key_request"
 
 
 class RejectedReason: