Software / code / prosody-modules
Comparison
mod_push2/README.markdown @ 5687:4b052598e435
mod_push2: restore offline message hook
Filtering is mostly handled in handle_notify_request now
| author | Stephen Paul Weber <singpolyma@singpolyma.net> |
|---|---|
| date | Thu, 21 Sep 2023 18:47:27 -0500 |
| parent | 5685:81f1c617f4c7 |
comparison
equal
deleted
inserted
replaced
| 5686:a1d22d6efb3d | 5687:4b052598e435 |
|---|---|
| 18 `push_max_hibernation_timeout` `259200` (72h) Number of seconds to extend the smacks timeout if no push was triggered yet (default: 72 hours) | 18 `push_max_hibernation_timeout` `259200` (72h) Number of seconds to extend the smacks timeout if no push was triggered yet (default: 72 hours) |
| 19 | 19 |
| 20 Internal design notes | 20 Internal design notes |
| 21 ===================== | 21 ===================== |
| 22 | 22 |
| 23 App servers are notified about messages stored by [mod_mam] | 23 App servers are notified about offline messages, messages stored by [mod_mam] |
| 24 or messages waiting in the smacks queue. | 24 or messages waiting in the smacks queue. |
| 25 | |
| 26 Currently messages that go into the offline queue but not into MAM are | |
| 27 not delivered. Need to come up with a way to dedup these. Or just have | |
| 28 your MAM set to always. | |
| 29 | 25 |
| 30 To cooperate with [mod_smacks] this module consumes some events: | 26 To cooperate with [mod_smacks] this module consumes some events: |
| 31 `smacks-ack-delayed`, `smacks-hibernation-start` and `smacks-hibernation-end`. | 27 `smacks-ack-delayed`, `smacks-hibernation-start` and `smacks-hibernation-end`. |
| 32 These events allow this module to send out notifications for messages received | 28 These events allow this module to send out notifications for messages received |
| 33 while the session is hibernated by [mod_smacks] or even when smacks | 29 while the session is hibernated by [mod_smacks] or even when smacks |