Software /
code /
prosody-modules
File
mod_throttle_presence/README.markdown @ 4832:bfd4af4caddc
mod_password_policy: Support for additional policies provided by other modules
E.g. check a password contains an uppercase character:
module:provides("password-policy", {
name = "contains_uppercase";
check_password = function (password, policy)
return (policy ~= true) or (not not password:match("%u"));
end;
})
Config:
password_policy = {
contains_uppercase = true;
}
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Wed, 22 Dec 2021 14:48:46 +0000 |
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 ----- -------