matrix-org / matrix-spec-proposals

Proposals for changes to the matrix specification
Apache License 2.0
1.01k stars 380 forks source link

Feature request: self-destruct messages X time after sending #3223

Closed Mikaela closed 3 years ago

Mikaela commented 3 years ago

Suggestion

I would like to set an event in my room to have all messages removed from well-behaved-unpatched homeservers X time from being sent.

For example, Telegram has options off, 24 hours or 7 days, after it's set, messages that turn that time old are removed from the group. Similar feature exists in Signal and WhatsApp.

I understand that there is currently https://github.com/matrix-org/matrix-doc/pull/2228 implemented in Synapse experimentally, but it's a per-event rather than per-room.

Keywords: self-destructing messages, disappearing messages, automatically removing messages, message auto remove, message auto deletion

Mikaela commented 3 years ago

It turns out that this feature exists and can be used through /devtools while it's not particularly human friendly and uses milliseconds, (thanks @sl:feneas.org) permalink

richvdh commented 3 years ago

I think this is a basically a duplicate of matrix-org/matrix-spec#32.

The retention policies implemented in Synapse follow a spec proposal at matrix-org/matrix-spec-proposals#1763, and as you note go a long way to solving this.