Mercurial > prosody-modules
view mod_filter_chatstates/README.markdown @ 1829:23b3c8e294d2
mod_filter_chatstates: Hack to make sure session.send does not return nil which may break things sometimes
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 04 Sep 2015 00:41:29 +0200 |
parents | 4d73a1a6ba68 |
children | 9283a6bcf512 |
line wrap: on
line source
--- labels: summary: Drop chat states from messages to inactive sessions ... Introduction ============ Some mobile XMPP client developers consider [Chat State Notifications](http://xmpp.org/extensions/xep-0085.html) to be a waste of power and bandwidth, especially when the user is not actively looking at their device. This module will filter them out while the session is considered inactive. It depends on `mod_csi` for deciding when to begin and end filtering. Configuration ============= There is no configuration for this module, just add it to modules\_enabled as normal. Compatibility ============= ----- ------- 0.9 Works ----- -------