I am trying to implement carbons feature on my xmpp client, Which consist in the chat for a web app, and a chat for a new window, in a new connection, using a same login.
I am enabling carbons in Those clients in the Following way:
Client sends:
<iq xmlns='jabber:client' from='supervisort1@multisales/beb10458' id='enable1' type='set'><enable xmlns='urn:xmpp:carbons:2'/></iq>
Server sends:
<iq xmlns="jabber:client" type="result" id="enable1" to="supervisort1@multisales/beb10458" />
Message:
<body rid='2463514845' xmlns='http://jabber.org/protocol/httpbind' sid='beb10458'>
<message to='sac.1@multisales' from='supervisort1@multisales/beb10458' type='chat' id='41' xmlns='jabber:client'>
<body>Test</body>
<active xmlns='http://jabber.org/protocol/chatstates'/>
</message>
</body>
I think the message carbons is enabled, but outhers client don’t receive the message.
Can you help me?
Thanks.