Quantcast
Channel: Ignite Realtime : Unanswered Discussions - Support
Viewing all articles
Browse latest Browse all 4979

Carbons (XEP-0280) is not sending copy to the sender user

$
0
0

Hello.

 

I am trying to implement carbons feature on my xmpp client, which consist in a chat for a web app, and a chat for a mobile app.

 

I want allow users to send messages from either web app or mobile app, but also update messages in the oposite device: When a user sends a message from web app, the other (mobile app) should receive it too, and vice versa.

 

I am enabling carbons in those clients in the following way:

 

<iqxmlns="jabber:client"

 

   from="usuario1@neyperlocal.no-ip.org/204561c1"

   id="enable1"

   type="set">

   <enablexmlns="urn:xmpp:carbons:2"/>

</iq>

 

 

<iqxmlns="jabber:client"

   type="result"

   id="enable1"

   to="usuario1@neyperlocal.no-ip.org/204561c1"

  />

 

 

<messageto="usuario25@neyperlocal.no-ip.org"

 

        xmlns="jabber:client"

       >

   <body>

      test carbons1

   </body>

</message>

 

As you can see, in bold is the openfire server's stanza response, which indicates that carbons has been enabled in this client. But then, when I send a message stanza (the next following the openfire response) i don't receive a carbon copy of the message that the client sends. Also the other client, even when carbons is enabled, doesn't receive a carbon copy.

 

Should i set something in the openfire admin console? What i am missing here? Could someone help me? Thanks in advance.


Viewing all articles
Browse latest Browse all 4979

Trending Articles