Skip to content
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

Delete messages after N-days locally #1309

Closed
r10s opened this issue Feb 23, 2020 · 12 comments
Closed

Delete messages after N-days locally #1309

r10s opened this issue Feb 23, 2020 · 12 comments

Comments

@r10s
Copy link
Member

r10s commented Feb 23, 2020

counterpart of #1206

for the first approach, IMAP-deletion time must not be longer than local deletion time.

messages in the "saved messages" chat should not be deleted, neither locally nor remotely.

one goal is to create some sort of ephemeral mode, where seized devices do not contain arbitrary old information. keeping N messages per chat as proposed in #1277 and deltachat/deltachat-core#244 would not fulfill these usecase.

NB: N-days is just an example, probably we need some finer resolution.

@csb0730
Copy link

csb0730 commented Feb 23, 2020

I'm very surprised by now!

See my last comment related #1277 (comment)

I'm concerned about these thoughts now.

Maybe new requirements should be added but existing one's from core 244 should be implemented finally now. ... before we go into new adventures!
As r10s said in his last comment of #1277: The requirements are waiting since 2018 now!

@csb0730
Copy link

csb0730 commented Feb 23, 2020

My recommendation for everyone who's interesting in this or these issues:

Please read full story of deltachat/deltachat-core#244 again to recall all thoughts and arguments in mind.

@csb0730
Copy link

csb0730 commented Feb 23, 2020

IMHO I think this issue should be renamed to "Automatic delete of local messages".

"Deleting after N-days" is only one approach (IMHO a bad one; depends on use case).

@r10s
Copy link
Member Author

r10s commented Feb 23, 2020

IMHO I think this issue should be renamed to "Automatic delete of local messages".

thanks for your input, however, this issue tracker is about bugs and feature that are actually implemented by someone - and this is "Delete messages after some time" in this issue. for feature requests and discussions, please use the forum at https://forum.delta.chat

@csb0730
Copy link

csb0730 commented Feb 29, 2020

This means that someone is working at this issue here "Delete messages after N-days locally" ?

IMHO then I'm correct here.
My intension is to remark that delete messages after a certain time will purge messages from rarely used chats - at local deviice - and this has been found as a problem in old issue!

We should keep this in mind.

@r10s
Copy link
Member Author

r10s commented Feb 29, 2020

This means that someone is working at this issue here "Delete messages after N-days locally" ?

yip, this will local/remote deletion after N days will be available soonish, in one of the next versions.

the main-usecase that is targeted by these "one-sided ephemeral messages" is to allow users that are at some risk to enable a chat-mode where they would only have a record of the last few hours or days. keeping messages in rarely used chats longer does not help in this case and would be more a bug than a feature.

My intension is to remark that delete messages after a certain time will purge messages from rarely used chats - at local deviice - and this has been found as a problem in old issue!

well, in this case you have the option not to use the function and everything is as before. no one says, it is a solution for everything :)

We should keep this in mind.

the function will clearly state under which circumstances messages are deleted. the ui will be similar to the one used for delete-from-server-after-N-days, see deltachat/deltachat-android#1257

@csb0730
Copy link

csb0730 commented Mar 1, 2020

Ok, for this use case I agree with you.

But then we need a new issue for simply limit retained messages locally.
When if I'm not able to use the new N-days function I need the another N-messages function (per chat) to do the housekeeping job. For example at my samsung device N-messages limit can be set for SMS if desired.

@csb0730
Copy link

csb0730 commented Mar 1, 2020

Shall I open an item at support forum for that or should we reopen existing issue?

@r10s
Copy link
Member Author

r10s commented Mar 1, 2020

feature request should go to the forum, yes :)

@csb0730
Copy link

csb0730 commented Mar 8, 2020

Hi, it's existing since Oct 19:
https://support.delta.chat/t/issues-for-reliable-long-running-service-of-dc/652

If necessary I can open a new item with key points additionally? Maybe with same title than issue here at issue tracker?

@csb0730
Copy link

csb0730 commented Mar 18, 2020

When this issue here is done I think it's a good base for just "limit retained history" of chat's

:-)

@link2xt
Copy link
Collaborator

link2xt commented Apr 20, 2020

Fixed in #1310

@link2xt link2xt closed this as completed Apr 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants