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

Close libnotifyplugin notifications when message are read #208

Merged
merged 3 commits into from
Jun 28, 2020

Conversation

jdchristensen
Copy link
Contributor

@jdchristensen jdchristensen commented Jun 4, 2020

In 'single notification per message' mode, when a message is read, the corresponding notification is closed.

In all other modes, the notification is closed when there are no unread messages, and it is updated when there are new unread messages. It is not changed when the only change is that some messages have been marked read, as this would cause the notification to pop up again.

Closes #37

@jdchristensen
Copy link
Contributor Author

I tested all four libnotifyplugin notification options. But I didn't test whether the additional calls to MAILS_REMOVED hooks cause any problems for other plugins or extensions, as my desktop environment doesn't support them.

@jdchristensen
Copy link
Contributor Author

Let me know if there is anything you'd like me to change on this pull request.

@pulb
Copy link
Owner

pulb commented Jun 11, 2020

Hey @jdchristensen, many thanks for your pull request! Your fix is very appreciated I just didn't find the time for a in-depth review yet. I'll try to have a closer look within the next feew days :)

@pulb pulb merged commit 2536b2d into pulb:master Jun 28, 2020
@pulb
Copy link
Owner

pulb commented Jun 28, 2020

Merged, thanks again!

@jdchristensen jdchristensen deleted the close-notifications branch June 28, 2020 18:31
@pulb
Copy link
Owner

pulb commented Jun 28, 2020 via email

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

Successfully merging this pull request may close these issues.

Update mail list when mail has been read
2 participants