mod_filter_chatstates/README.markdown
author Kim Alvefur <zash@zash.se>
Thu, 04 Jul 2024 16:06:32 +0200
changeset 5929 32d1abb89dfe
parent 1877 9283a6bcf512
permissions -rw-r--r--
mod_rest: Reject password that fails saslprep earlier (thanks tgy) Prevents an error later if/when passing the password through saslprep a second time in the authentication module, since the prep functions now reject nil The error reporting could be improved but that would involve adding a way to pass errors back out of the check_credentials() function.

---
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](/mod_csi.html) 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
  ----- -------