As of version 24.02, ejabberd is shipped with a Matrix gateway and can participate in the Matrix federation. This means that an XMPP client can exchange messages with Matrix users or rooms. Let's see how to configure your ejabberd to enable this gateway. Configuration in ejabberd HTTPS listener First, add an HTTP handler, as Matrix
Sadly this gateway is still very limited and unless an external developer picks it up, I doubt this will change anytime soon.
If you are on Prosody, I would suggest you look into the Slidge personal Matrix gateway instead: https://slidge.im/matridge/
Thanks! I’ll have a look