matrix/retention: add WARNING and a note to not do this

This commit is contained in:
Aminda Suomalainen 2023-07-03 20:33:13 +03:00
parent 2d523bd298
commit d987837370
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q

View File

@ -1,11 +1,20 @@
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
- [WARNING](#warning)
- [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 -->
# WARNING
**_Don't do this!_**
- [You may corrupt your Synapse database!](https://github.com/matrix-org/matrix-spec-proposals/pull/1763)
- If a Synapse homeserver leaves your room for long enough time,
[t will never be able to rejoin!](https://github.com/matrix-org/synapse/issues/11448)
# Room history retention settings / state event `m.room.retention`
- https://brendan.abolivier.bzh/matrix-retention-policies/