[jdev] add a nickname at subscribtion time

Paul BRIE paul.brie at vector-consult.com
Fri May 13 11:30:17 UTC 2011


Hi,
accordingly to documentation the following stanza should work:

<presence to='134 at myserver.com' type='subscribe'>
     <nick xmlns='http://jabber.org/protocol/nick'>paul</nick>
</presence>

This is sent from a Linux Apache Server using php towards Openfire server.

The subscribtion request is working - the user which is connected
receives the invitation, - but:
- the nickname is not saved
- the Roster table is not updated with the informations

Has anybody met the same problems? Should I add users to the roster in
another manner?

Any help would be greatly appreciated.

Thx,
Paul



--

Paul BRIE
Vector Consult
14 rue Robert Giraudineau
94300 VINCENNES
téléphone: +33 (0)9 70 44 54 33
fax: +33 (0)9 58 71 79 29
mobile: +33 (0)6 08 74 06 39
skype: paul.brie

http://www.vector-consult.com
Développement de sites e-commerce, services en ligne et applications
pour mobiles


More information about the JDev mailing list