matrix: add rentention/ for hopefully finding it again

This commit is contained in:
Aminda Suomalainen 2021-07-28 13:13:15 +03:00
parent ba502e66ad
commit 6582a89f98
Signed by: Mikaela
GPG Key ID: 99392F62BAE30723
3 changed files with 21 additions and 0 deletions

View File

@ -0,0 +1,4 @@
{
"min_lifetime": 86400000,
"max_lifetime": 2678400000
}

View File

@ -0,0 +1,13 @@
# Room history retention settings / state event `m.room.retention`
* https://brendan.abolivier.bzh/matrix-retention-policies/
Read that, it explains what is actually done etc.
## Notes
* Matrix uses milliseconds, keep that in mind!
* Everything requires every server involved to have rention support enabled,
otherwise the messages go nowhere and are fetchable upon request.
* 86400000 = 1 day (seen in min lifetimes)
* Helpful: https://unitchefs.com/milliseconds/days/ / https://unitchefs.com/days/milliseconds/

View File

@ -0,0 +1,4 @@
{
"min_lifetime": 86400000,
"max_lifetime": 604800000
}