From f383701f9ec49b20902fb531704ceb400b5204f1 Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Tue, 17 May 2022 23:10:23 +0300 Subject: [PATCH] m.room.retention: add the expire_on_clients option I doubt anything implements it, but hopefully Synapse implementation contains it --- matrix/retention/1h.json | 3 ++- matrix/retention/24h.json | 3 ++- matrix/retention/31days.json | 3 ++- matrix/retention/week.json | 3 ++- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/matrix/retention/1h.json b/matrix/retention/1h.json index c0d665c..392aaca 100644 --- a/matrix/retention/1h.json +++ b/matrix/retention/1h.json @@ -1,4 +1,5 @@ { "min_lifetime": 3600000, - "max_lifetime": 3600000 + "max_lifetime": 3600000, + "expire_on_clients": true } diff --git a/matrix/retention/24h.json b/matrix/retention/24h.json index 6051810..e6e04f9 100644 --- a/matrix/retention/24h.json +++ b/matrix/retention/24h.json @@ -1,4 +1,5 @@ { "min_lifetime": 86400000, - "max_lifetime": 86400000 + "max_lifetime": 86400000, + "expire_on_clients": true } diff --git a/matrix/retention/31days.json b/matrix/retention/31days.json index d0a0b78..942ab02 100644 --- a/matrix/retention/31days.json +++ b/matrix/retention/31days.json @@ -1,4 +1,5 @@ { "min_lifetime": 86400000, - "max_lifetime": 2678400000 + "max_lifetime": 2678400000, + "expire_on_clients": true } diff --git a/matrix/retention/week.json b/matrix/retention/week.json index 19e5e3f..f55a337 100644 --- a/matrix/retention/week.json +++ b/matrix/retention/week.json @@ -1,4 +1,5 @@ { "min_lifetime": 86400000, - "max_lifetime": 604800000 + "max_lifetime": 604800000, + "expire_on_clients": true }