This is a Prosody module to drop chatstates for specific domains.
Clients that request chatstates to virtual JIDs (i.e. those created by modules like mod_voipms to send/receive SMS/MMS on domains like ‘sms.example.com’) will, by design, receive errors indicating the service is unavailable. While most clients will silently ignore this, clients like profanity will not. This module allows us to drop responses for chatstates on selected domains if we know they will never respond.
option | type | default | description |
---|---|---|---|
drop_chatstates_domains | table | {} | Domains to drop chatstates for |
Sample module configuration:
modules_enabled = {
"drop_chatstates";
}
drop_chatstates_domains = { "sms.example.com" }
With the plugin installer in Prosody 0.12 you can use:
sudo prosodyctl install --server=https://modules.prosody.im/rocks/ mod_drop_chatstates
For earlier versions see the documentation for installing 3rd party modules