Skip to content
This repository has been archived by the owner on Nov 25, 2024. It is now read-only.

Auto-deleting/self-destructing/disappearing messages #2205

Closed
wdbm opened this issue Feb 19, 2022 · 2 comments
Closed

Auto-deleting/self-destructing/disappearing messages #2205

wdbm opened this issue Feb 19, 2022 · 2 comments

Comments

@wdbm
Copy link

wdbm commented Feb 19, 2022

For everything from psychological health, to spring-cleaning to a gentle bit of security, I and everyone I know who happen to use Signal really love messages that delete after, say, a week. We find it healthy to be able to let go past conversations and to enable people to grow and to move past the past.

We love the P2P approach of Matrix/Dendrite. It is a delight to have a working demonstration of something like this, which has entirely functional audio and video call capabilities.

So, is there a way to have auto-deleting messages today in P2P Matrix, even if by means of an awkward script? And, in any case, may we kindly request that a feature like this be implemented? We'd be delighted to switch when this killer feature is available!

Many thanks for your continued development. :)

@kegsay
Copy link
Member

kegsay commented Feb 19, 2022

You can delete messages in Matrix (they're called redactions) which removes the content of a matrix event. Redactions are propagated over federation and other compliant homeservers should also do the same thing (no guarantees of course).

In P2P, redactions will be less reliable over federation as the nodes will frequently be offline when the redaction is sent. However, Matrix is eventually consistent so when subsequent messages are received in a room the missing redaction will be pulled in, in the majority of cases.

In Dendrite, redactions are permanent. The code will remove the content field in the database; it isn't marked as deleted. This behaviour is modifiable here: https://github.com/matrix-org/dendrite/blob/main/roomserver/storage/shared/storage.go#L26

There is currently no mechanism to automatically redact messages after a certain period of time.

@kegsay
Copy link
Member

kegsay commented Dec 6, 2022

There's nothing actionable here, we can't just remove events from the DAG, so it has to be redacted. There is talk of self-destructing messages in matrix-org/matrix-spec-proposals#2228 - but we are unable to maintain such an MSC at this point in time.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants