Mercurial > prosody-modules
view mod_cloud_notify/README.markdown @ 2300:dded110af017
mod_statistics/stats: Guard usage of module:get_option() so we only call it when Prosody is running
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sun, 18 Sep 2016 18:53:09 +0100 |
parents | f5cc6328b20f |
children | 2e641ab995b3 |
line wrap: on
line source
--- labels: - 'Stage-Beta' summary: 'XEP-0357: Cloud push notifications' --- Introduction ============ This is an implementation of the server bits of [XEP-0357: Push Notifications]. It allows clients to register an "app server" which is notified about new messages while the user is offline or disconnected. Implementation of the "app server" is not included[^1]. Details ======= App servers are notified about offline messages. Configuration ============= Option Default Description --------------------------------- --------- ------------------------------------------------------------------ `push_notification_with_body` `false` Whether or not to send the message body to remote pubsub node. `push_notification_with_sender` `false` Whether or not to send the message sender to remote pubsub node. There are privacy implications for enabling these options because plaintext content and metadata will be shared with centralized servers (the pubsub node) run by arbitrary app developers. Installation ============ Same as any other module. Configuration ============= Configured in-band by supporting clients. Compatibility ============= Should work with 0.9+. [^1]: The service which is expected to forward notifications to something like Google Cloud Messaging or Apple Notification Service