OTR, “Off The Record”, encryption allows clients to encrypt messages such that the server cannot read/modify them.

This module allows the server admin to require that all messages are OTR-encrypted.


Just enable the module by adding it to your global modules_enabled, or if you only want to load it on a single host you can load it only for one host like this:

VirtualHost ""
    modules_enabled = { "require_otr" }
0.10 Works
0.9 Works
0.8 Works


With the plugin installer in Prosody 0.12 you can use:

sudo prosodyctl install --server= mod_require_otr

For earlier versions see the documentation for installing 3rd party modules