Software /
code /
prosody-modules
File
mod_throttle_presence/README.markdown @ 5086:dec4b2e31d1c
mod_rest: Do not allow replies to <iq type=result> from webhooks
Replying to a result stanza could cause loops, just as replying to an
error.
No stanza.name check here but it should be fine since no other kinds of
stanzas have type=result, and the boolean logic would most definitely be
wrong on the first attempt.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 27 Nov 2022 00:10:38 +0100 |
parent | 1821:79b9bd84b91c |
line wrap: on
line source
--- labels: - 'Stage-Beta' summary: Limit presence stanzas to save traffic ... Introduction ============ For most people 'presence' (status changes) of contacts make up most of the traffic received by their client. However much of the time it is not essential to have highly accurate presence information. This module automatically cuts down on presence traffic when clients indicate they are inactive (using the [CSI protocol](mod_csi.html)). This is extremely valuable for mobile clients that wish to save battery power while in the background. Configuration ============= Just load the module (e.g. in modules\_enabled). There are no configuration options. Compatibility ============= ----- ------- 0.9 Works ----- -------