The only correct way to send pushes is when user should recieve some new
content (messages). If Prosody sends push notifications beyond message
ones, Prosody should be fixed.
2018-04-13 5:39 GMT+05:00 Anurodh Pokharel <i...@monal.im>:
> I've been testing push notifications on Monal for iOS for about a year,
> pointing to the implementation on Prosody. I have observed that
> notifications are sent for stanzas beyond message ones. In my case I only
> care to alert the user if there are new messages, so the constant need to
> connect and check on every notification quietly wastes resources.
> Given the various different use cases for this, there are probably
> different requirements for different apps. A blanket list of stanzas to
> push does not work for everyone. I feel like the client should be able to
> set a whitelist of what stanzas it cares about. Some of what I am
> experiencing are likely bugs or specifics of the implementation on Prosody,
> but it seems to reason that how to determine what is interesting enough to
> be push be specified in the xep.
> Standards mailing list
> Info: https://mail.jabber.org/mailman/listinfo/standards
> Unsubscribe: standards-unsubscr...@xmpp.org
Директор ООО "Редсолюшн" (Челябинск)
Standards mailing list