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

Notification is not deleted from database #369

Open
dongli opened this issue Aug 25, 2015 · 1 comment
Open

Notification is not deleted from database #369

dongli opened this issue Aug 25, 2015 · 1 comment

Comments

@dongli
Copy link

dongli commented Aug 25, 2015

When I move_to_trash a notification, and then mark_as_deleted it, it still exists in the database, but is_deleted? method shows it is deleted. I would like to know should I worry about this? Does Mailboxer removes it from database later?

@ancabury
Copy link

From what I have seen, the notification is never deleted from the database (I don't think this would be suitable, since the notification is "shared" between multiple users).

move_to_trash - only sets the flag trashed to true for the current user.
mark_as_deleted - only sets the flag deleted to true for the current user.

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

2 participants