-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Auto Delete old messages after given time #363
Comments
Duplicate of #729 |
@adeorato you can achieve the same effect (clearing messages) by going to All Settings -> Help & About -> Clear Cache and Reload, this will fetch all required information from the server and drop all local information, including all messages. E2EE data will not be dropped. |
Element Web doesn't store history, only a cached window of recent events which can be cleared via the above instructions by @ShadowJonathan.
Server side has been done though? |
@ShadowJonathan and @t3chguy I tried your suggestions (clear cache and deactivate message search). |
Because they're re-fetched from the server, there's no way to exclude them from |
And this is what this feature request is about: "also does not re-download from server" |
So you're essentially requesting something like WhatsApp/Telegram's "Delete for me" feature? |
Short answer: Essentially yes. Long answer: I don't know if this is important, but I care only about 2 person chats. As far as I understand, this is technically also a room. So the following list would fulfil my requirement:
|
Your use case
What would you like to do?
I want to have old messages automatically deleted from the local file system. E.g. after x days or only keep newest 50 (e.g.) messages.
Why would you like to do it?
There are three reasons:
How would you like to achieve it?
The other participants still have the message. I am aware of that. Here it is only about the own physical device.
If I delete a mail, I also don't expect that the other person doesn't have it anymore.
Here I wish as an implementation that there is a timer per "chat/room" that deletes old message locally after timer expires and also does not re-download from server (or sends a delete to server, whatever is easier to implement).
Alternatively, that it displays a configurable maximum number of messages and deletes the older ones locally. Expressed as SQL:
"select ... order by id desc fetch first ? rows only"
and everything not found by the query will be deleted
Have you considered any alternatives?
Delete messages manually.
However, since it is not possible to delete multiple messages at once, this is not an acceptable alternative.
At the moment, I use other clients for more critical stuff, as Elements doesn't meet my security requirement in that regard.
Additional context
No response
The text was updated successfully, but these errors were encountered: