S.J
S.J

Reputation: 3071

Modifying the XMPP Presence Stanza

In XMPP user can send subscription request to another user to add in roster, I am easily doing this even working perfectly if user is offline server automatically dispatch this presence when user come online.

But I need to add a custom tag to this presence, it works till user is online, if user is offline the server send the regular presence without my custom tag when user arrives online.

How to achieve this.

Upvotes: 0

Views: 658

Answers (1)

Alex
Alex

Reputation: 4136

It looks like the XMPP server you are using does not store the extended info of the presence.
According to RFC6121 3.1.3.4 the server must store this info:
http://xmpp.org/rfcs/rfc6121.html#sub-request-inbound

Upvotes: 2

Related Questions