summary refs log tree commit diff
path: root/synapse/api
diff options
context:
space:
mode:
authorBrendan Abolivier <babolivier@matrix.org>2019-11-04 17:09:22 +0000
committerBrendan Abolivier <babolivier@matrix.org>2019-11-04 17:09:22 +0000
commit09957ce0e4dcfd84c2de4039653059faae03065b (patch)
treefc31ab750a3c485a0cfb9d23b0ab52114a91d954 /synapse/api
parentMerge pull request #6301 from matrix-org/babolivier/msc2326 (diff)
downloadsynapse-09957ce0e4dcfd84c2de4039653059faae03065b.tar.xz
Implement per-room message retention policies
Diffstat (limited to 'synapse/api')
-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 49c4b85054..e3f086f1c3 100644
--- a/synapse/api/constants.py
+++ b/synapse/api/constants.py
@@ -94,6 +94,8 @@ class EventTypes(object):
     ServerACL = "m.room.server_acl"
     Pinned = "m.room.pinned_events"
 
+    Retention = "m.room.retention"
+
 
 class RejectedReason(object):
     AUTH_ERROR = "auth_error"