-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 | Hi all, | I am trying to develop a .Net client using Jabber technology. I am stuck up | at one point. When trying to add a roster, I donot have any problems, but | when trying to remove the roster from my roster list, I am unable to do so. | The difference between adding and removing a roster lies only in using the | Presence type property differently as follows: | To subscribe = jabber.protocol.client.PresenceType.subscribe | To unsubscribe = jabber.protocol.client.PresenceType.unsubscribe | | My porgram doesnot even raise an error, but the roster name is even not | removed from my roster list. Where does the problem lie?? | unsubscribing from someone's presence doesn't remove them from the roster. It leave the associated groups and names there with the roster item. All that changes is that you won't get presence updates from that person anymore.
If you want to remove them from your roster send something like this: <iq type='set' id='removeUser1'> ~ <query xmlns='jabber:iq:roster'> ~ <item jid='[EMAIL PROTECTED]' subscription='remove'/> ~ </query> </iq>" Hope this helps. - -- Casey -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.0 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQE9wMv0UidG/HUEju8RAgSTAJ4oY/mBOh2d4Sb4DOON95LXtd8BoACeNtug IhDkk3bAUSvSFHq+sYUERc4= =JZaK -----END PGP SIGNATURE----- _______________________________________________ jdev mailing list [EMAIL PROTECTED] http://mailman.jabber.org/listinfo/jdev
