<div class="gmail_quote">On 26 September 2012 12:13, David Dang <span dir="ltr"><<a href="mailto:daviddang888@gmail.com" target="_blank">daviddang888@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
sorry, i made a mistake. it's an <iq> stanza not <message>. :)<div> but i do just cancel presence subscription, did not remove buddy list.</div></blockquote><div><br></div><div>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.</div>
<div><br></div><div>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.</div><div><br></div><div>Regards,</div><div>Matthew</div>
</div>