Mercurial > prosody-modules
view mod_throttle_presence/README.markdown @ 4980:da151f9af861
replaced 'session' with 'origin' in push_disable
session is not defined in this function, trying to access it
leads to an error.
The correct reference seems to be 'origin'.
(This may have come about by copying from the similar
code in process_stanza_queue.)
author | arcseconds |
---|---|
date | Sat, 30 Jul 2022 21:07:47 +1200 |
parents | 79b9bd84b91c |
children |
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 ----- -------