See RFC 3921 (XMPP IM & Presence) section 7.4: Adding a Roster Item.
All you need to do is have your server push this packet (it's as if the user added a contact from some other resource connection):
<iq type="set" to="[EMAIL PROTECTED]/skadi">
<query xmlns="jabber:iq:roster">
<item jid="[EMAIL PROTECTED]"
name="New Contact"
subscription="none"/>
</query>
</iq>Julian
On 22 Oct 2004, at 16:08, Jason Morehouse ([EMAIL PROTECTED]) wrote:
Hey,
Is there any way to force a remote client to update its roster without requesting a subscription (it is being added to the db on the server automatically)?
Cheers, -Jason
_______________________________________________ jdev mailing list [EMAIL PROTECTED] http://mail.jabber.org/mailman/listinfo/jdev
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ jdev mailing list [EMAIL PROTECTED] http://mail.jabber.org/mailman/listinfo/jdev
