Hi everyone,
I am using Ejabberd 15.03 and my web application requires that a user can simutaneously login in multiple tab, in each tab I create a new connection for it.
The problem right now is that when someone else send a message to this user, only the latest connection ( the latest opened tab) gets the message. Is there a way to make the message route to all connections (resources) of this user?
Thanks.
Hi, sending messages that are
Hi,
sending messages that are directed to fulljids to all resources wouldn't be standard compliant.
The proper solution aremessage carbons . You need to enable it in ejabberd (mod_carboncopy). Your application needs to support it, too. Depending on the lib you use you might just have to enable it, for instance converse.js .
Matthias
Actually, you should receive
Actually, you should receive the message on all connected resources, if they all share the same priority (and it is the higher available).