double notifications (#573)
Open
Unknown opened 2 years ago

Describe the bug when receiving a message, i get the notification for it, but also a generic "New message!" notification alongside it

To Reproduce Steps to reproduce the behavior:

  1. have notifications turned on
  2. receive a message

Expected behavior i only expect to receive one notification for each message

Screenshots B29C3011-EDF2-4D69-A367-F9A70949920E

Details (please complete the following information):

  • Siskin Version: 7.3.3
  • iOS version: 16.3.1
  • iPhone model: iphone 13 mini
Unknown commented 2 years ago

Siskin does not generate push notifications for incoming messages when the client is in the background (disconnected). Those notifications are generated by your XMPP server and Siskin just displays them. Notifications that are generic "New message!" do not contain any message but are sent by your XMPP server. If your server sends notifications with content/message, then the proper message is displayed.

We are aware that some XMPP servers send notifications for any incoming XMPP stanza or message (even if there is no body in the message), but that is in our opinion violation of the XEP-0357: Push Notifications and should be solved on the server side.

In future versions we may decide to filter notifications on the client side, however, I do not think this is how it should be done.

issue 1 of 1
Type
Bug
Issue Votes (0)
Watchers (0)
Reference
tigase/_clients/siskin-im#573
Please wait...
Page is in error, reload to recover