Mercurial > prosody-modules
view mod_throttle_presence/README.markdown @ 5954:e5b5a74feb91
mod_rest: Workaround lack of number coercion in util.datamapper for HTTP upload
util.datamapper will not coerce a string into an integer like the
XEP-0363 'size' slot, which becomes a problem when using the HTTP GET
method, passing fields as ?query parameters which are always strings.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 19 Aug 2024 20:08:41 +0200 |
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 ----- -------