mod_compat_dialback

This module provides a workaround for servers that do not set the to attribute on stream headers, which is required per RFC6120:

4.7.2. to

For initial stream headers in both client-to-server and server-to-server communication, the initiating entity MUST include the ‘to’ attribute and MUST set its value to a domainpart that the initiating entity knows or expects the receiving entity to service.

As a side effect of this issue, Prosody 0.10 will be unable to do Dialback with servers that don’t follow this.

Known servers affected


Installation

With the plugin installer in Prosody 0.12 you can use:

sudo prosodyctl install --server=https://modules.prosody.im/rocks/ mod_compat_dialback

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