[jdev] does unsubscribe invoke remove?

Matthew Wild mwild1 at gmail.com
Wed Sep 26 12:33:10 UTC 2012


On 26 September 2012 12:13, David Dang <daviddang888 at gmail.com> wrote:

>     sorry, i made a mistake. it's an <iq> stanza not <message>. :)
>  but i do just cancel presence subscription, did not remove buddy list.
>

Right, but as Kirk pointed out - you are sending the removal request. This
means not necessarily you, but the library or framework you are using.
Check the documentation to see if there is a flag to tell it not to do
this, otherwise I guess you have to file a feature request or fix it
yourself.

An alternative, if possible through the API you are using, would be to
construct the unsubscribe stanza manually and send it directly on the
stream.

Regards,
Matthew
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.jabber.org/jdev/attachments/20120926/1db7a4e9/attachment.html>


More information about the JDev mailing list