summary refs log tree commit diff
path: root/synapse/api/constants.py
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2018-08-22 10:57:54 +0100
committerRichard van der Hoff <richard@matrix.org>2018-10-25 19:10:24 +0100
commit0f7d1c99061075fe54a37cfe785184f095addf78 (patch)
treeffa0d8d64a962e7badf4792ea8c30ac3fc3b28ec /synapse/api/constants.py
parentAllow power_level_content_override=None for _send_events_for_new_room (diff)
downloadsynapse-0f7d1c99061075fe54a37cfe785184f095addf78.tar.xz
Basic initial support for room upgrades
Currently just creates a new, empty, room, and sends a tombstone in the old
room.
Diffstat (limited to 'synapse/api/constants.py')
-rw-r--r--synapse/api/constants.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/api/constants.py b/synapse/api/constants.py
index c2630c4c64..5565e516d6 100644
--- a/synapse/api/constants.py
+++ b/synapse/api/constants.py
@@ -61,6 +61,7 @@ class LoginType(object):
 class EventTypes(object):
     Member = "m.room.member"
     Create = "m.room.create"
+    Tombstone = "m.room.tombstone"
     JoinRules = "m.room.join_rules"
     PowerLevels = "m.room.power_levels"
     Aliases = "m.room.aliases"