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

Imported mails are deleted too late from the offline storage #8304

Open
abdulkadir-tutao opened this issue Jan 17, 2025 · 0 comments
Open

Imported mails are deleted too late from the offline storage #8304

abdulkadir-tutao opened this issue Jan 17, 2025 · 0 comments
Labels
bug broken functionality, usability problems, unexpected errors

Comments

@abdulkadir-tutao
Copy link
Contributor

Describe the bug
Mails are deleted based on the timestamp on the mailIds. However, for imported emails, this causes them to be deleted too late since the received date on the mail is older than the date encoded to their mailId (date of creation (import)).

Expected behavior
Mails are deleted from the offline storage in an appropriate time. There are two different approaches:

  • Delete based on received date
  • Keep as-is to store imported mails. Users can see their imported mails more quickly after importing them since they'll already be stored in the offline storage.

Version [261.250116.0]

Additional context
MailOfflineCleaner.ts

@abdulkadir-tutao abdulkadir-tutao added the bug broken functionality, usability problems, unexpected errors label Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug broken functionality, usability problems, unexpected errors
Projects
None yet
Development

No branches or pull requests

1 participant