The way forward for push notifications? You are probably looking for
mod_cloud_notify for now though
See also https://hg.prosody.im/prosody-modules/file/tip/mod_push2/push2.markdown
||xmpp:server.tld||Contact information for the server
operator (usually as a
||Number of seconds to extend the smacks timeout if no push was triggered yet (default: 72 hours)|
App servers are notified about offline messages, messages stored by mod_mam or messages waiting in the smacks queue.
To cooperate with mod_smacks this
module consumes some events:
smacks-hibernation-end. These events allow this module to
send out notifications for messages received while the session is
hibernated by mod_smacks or even when
smacks acknowledgements for messages are delayed by a certain amount of
seconds configurable with the mod_smacks
smacks_max_ack_delay setting allows to send out
notifications to clients which aren’t already in smacks hibernation
state (because the read timeout or connection close didn’t already
happen) but also aren’t responding to acknowledgement request in a
timely manner. This setting thus allows conversations to be smoother
under such circumstances.
Note: This module should be used with Lua 5.3 and higher.
Requires a slightly patches luaossl right now: https://github.com/wahern/luaossl/pull/214