2024-06-19 07:53:27 +02:00
|
|
|
<!-- @format -->
|
|
|
|
|
2023-03-16 18:53:28 +01:00
|
|
|
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
|
|
|
|
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
|
|
|
|
|
2023-07-03 19:33:13 +02:00
|
|
|
- [WARNING](#warning)
|
2023-03-16 18:53:28 +01:00
|
|
|
- [Room history retention settings / state event `m.room.retention`](#room-history-retention-settings--state-event-mroomretention)
|
|
|
|
- [Notes](#notes)
|
|
|
|
|
|
|
|
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
|
|
|
|
|
2023-07-03 19:33:13 +02:00
|
|
|
# WARNING
|
|
|
|
|
|
|
|
**_Don't do this!_**
|
|
|
|
|
2023-07-05 07:43:06 +02:00
|
|
|
- [You may corrupt your Synapse database!](https://github.com/matrix-org/synapse/issues/13476)
|
2023-07-03 19:33:13 +02:00
|
|
|
- If a Synapse homeserver leaves your room for long enough time,
|
2023-07-03 19:40:49 +02:00
|
|
|
[it will never be able to rejoin!](https://github.com/matrix-org/synapse/issues/11448)
|
2023-07-03 19:33:13 +02:00
|
|
|
|
2021-07-28 12:13:15 +02:00
|
|
|
# Room history retention settings / state event `m.room.retention`
|
|
|
|
|
2023-02-26 18:01:13 +01:00
|
|
|
- https://brendan.abolivier.bzh/matrix-retention-policies/
|
2021-07-28 12:13:15 +02:00
|
|
|
|
|
|
|
Read that, it explains what is actually done etc.
|
|
|
|
|
|
|
|
## Notes
|
|
|
|
|
2024-06-19 07:53:27 +02:00
|
|
|
- Not part of spec.
|
|
|
|
https://github.com/matrix-org/matrix-spec-proposals/pull/1763
|
2023-02-26 18:01:13 +01:00
|
|
|
- Matrix uses milliseconds, keep that in mind!
|
|
|
|
- Everything requires every server involved to have rention support enabled,
|
2021-07-28 12:13:15 +02:00
|
|
|
otherwise the messages go nowhere and are fetchable upon request.
|
2023-02-26 18:01:13 +01:00
|
|
|
- 86400000 = 1 day (seen in min lifetimes)
|
2024-06-19 07:53:27 +02:00
|
|
|
- Helpful: https://unitchefs.com/milliseconds/days/ /
|
|
|
|
https://unitchefs.com/days/milliseconds/
|