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

Feature request: Suppress notifications for Delta Chat messages. #3471

Closed
DocSniper opened this issue Jun 24, 2018 · 6 comments · Fixed by #5578
Closed

Feature request: Suppress notifications for Delta Chat messages. #3471

DocSniper opened this issue Jun 24, 2018 · 6 comments · Fixed by #5578
Labels
type: enhancement New features or improvements to existing features.

Comments

@DocSniper
Copy link

I use Delta Chat ( https://delta.chat/ ), which is an e-mail based messenger.
Because K-9 and Delta Chat both use push I'm notified by both application.
Short after this Delta Chat moves the messages away from the inbox folder to an own folder and K-9 deletes the notification.
So an option to "delay K-9 notifications for X seconds" would be great.
Thanks.

@cketti
Copy link
Member

cketti commented Jul 12, 2018

I don't particularly like the proposed solution of delaying notifications.

@r10s: Is there a way to recognize Delta Chat messages so we could disable notifications for just those?

@cketti cketti added the type: enhancement New features or improvements to existing features. label Jul 12, 2018
@r10s
Copy link

r10s commented Jul 12, 2018

Is there a way to recognize Delta Chat messages so we could disable notifications for just those?

yes, they have a Chat-Version: header. as Delta Chat also relies on this header, this seems to be a good hint. Apart from other headers, the Chat-Version: header is also currently explicitly not moved to the encrypted payload.

@r10s
Copy link

r10s commented Jul 13, 2018

maybe this could also be solved in another way:

  • let the two notifications appear, the user can decide whether to handle the message with Delta Chat or K-9
  • once the message is read in either app, both notifications disappear

just an idea, technically, this might be more tricky ...

@DocSniper
Copy link
Author

DocSniper commented Apr 3, 2019

The double notification bothers me now for quite a while or better said it's a 1.5 notification. Because what annoys the most is that the first of the two notifications is interrupted in the middle and then the other one of the two comes up. Both in terms of sound and vibration.

I have now found a solution for me, but it only works because I've access to my mail filters. I've created a rule that instantly moves all mails containing "Chat Version:" in the mail header directly to the DeltaChat folder.

It would be better, however, to implement an option in K-9, named e.g. "Ignore COI messages" that checks if "Chat Version:" is appearing in the mail header and then suppresses the new mail notification. Disabled by default.

Just an idea ... but maybe the most easiest way to handle the double notification issue.

@DocSniper
Copy link
Author

Since push messages are available again since version 5.8, this problem has returned. I would like to suggest again to proceed as follows:
Implement an option in K-9, e.g. "Ignore COI messages", which, if enabled, checks if "Chat Version:" occurs in the mail header and then suppresses the new mail notification of K-9. This option should of course be disabled by default.
Sorry to bug you and thanks. 😃

@cketti cketti added this to the Notifications milestone Jul 25, 2021
@DocSniper DocSniper changed the title Feature request: delay notification Feature request: Suppress notifications for Delta Chat messages. Jul 25, 2021
@r10s
Copy link

r10s commented Jul 26, 2021

Implement an option in K-9, e.g. "Ignore COI messages", which, if enabled, checks if "Chat Version:" occurs in the mail header and then suppresses the new mail notification of K-9.

sounds good!

however, maybe better call it "Ignore Chat Messages", "Ignore Delta Chat Messages" or so - COI is no longer active and "hold for now" - but there are some other clients and bots using the Chat-Version header meanwhile.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement New features or improvements to existing features.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants