mirror of
https://gitea.blesmrt.net/mikaela/gist.git
synced 2024-11-22 03:09:22 +01:00
matrix: add rentention/ for hopefully finding it again
This commit is contained in:
parent
ba502e66ad
commit
6582a89f98
4
matrix/retention/31days.json
Normal file
4
matrix/retention/31days.json
Normal file
@ -0,0 +1,4 @@
|
||||
{
|
||||
"min_lifetime": 86400000,
|
||||
"max_lifetime": 2678400000
|
||||
}
|
13
matrix/retention/README.md
Normal file
13
matrix/retention/README.md
Normal 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/
|
4
matrix/retention/week.json
Normal file
4
matrix/retention/week.json
Normal file
@ -0,0 +1,4 @@
|
||||
{
|
||||
"min_lifetime": 86400000,
|
||||
"max_lifetime": 604800000
|
||||
}
|
Loading…
Reference in New Issue
Block a user