summary refs log tree commit diff
path: root/synapse/api/constants.py
diff options
context:
space:
mode:
authorPatrick Cloke <patrickc@matrix.org>2023-04-05 14:11:44 -0400
committerPatrick Cloke <patrickc@matrix.org>2023-07-17 11:05:43 -0400
commitcf26b9f8970f733ef0cccde29420364b613ce222 (patch)
treebc944e084e9abc453ed44f32bc5234d6547f9e7e /synapse/api/constants.py
parentRevert "Initial routing of events." (diff)
downloadsynapse-cf26b9f8970f733ef0cccde29420364b613ce222.tar.xz
Update for v2.
Diffstat (limited to 'synapse/api/constants.py')
-rw-r--r--synapse/api/constants.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/synapse/api/constants.py b/synapse/api/constants.py
index dc32553d0c..45fb9cc0de 100644
--- a/synapse/api/constants.py
+++ b/synapse/api/constants.py
@@ -125,6 +125,8 @@ class EventTypes:
 
     Reaction: Final = "m.reaction"
 
+    Hub: Final = "m.room.hub"
+
 
 class ToDeviceEventTypes:
     RoomKeyRequest: Final = "m.room_key_request"