summary refs log tree commit diff
path: root/synapse/api/constants.py
diff options
context:
space:
mode:
authorPatrick Cloke <patrickc@matrix.org>2021-05-05 16:31:16 -0400
committerPatrick Cloke <patrickc@matrix.org>2021-05-05 16:31:16 -0400
commit70f0ffd2fcd815a065b4734ac606654a2e11dd28 (patch)
tree7fdeae1b5a24f6f9ec2e1679982466beefd834ac /synapse/api/constants.py
parentInclude the time of the create event in Spaces Summary. (#9928) (diff)
downloadsynapse-70f0ffd2fcd815a065b4734ac606654a2e11dd28.tar.xz
Follow-up to #9915 to correct the identifier for room types.
Diffstat (limited to '')
-rw-r--r--synapse/api/constants.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/api/constants.py b/synapse/api/constants.py
index bff750e5fb..ab628b2be7 100644
--- a/synapse/api/constants.py
+++ b/synapse/api/constants.py
@@ -176,7 +176,7 @@ class EventContentFields:
     SELF_DESTRUCT_AFTER = "org.matrix.self_destruct_after"
 
     # cf https://github.com/matrix-org/matrix-doc/pull/1772
-    ROOM_TYPE = "m.type"
+    ROOM_TYPE = "type"
     MSC1772_ROOM_TYPE = "org.matrix.msc1772.type"