[jdev] does unsubscribe invoke remove?

Kirk Bateman kirk.bateman at gmail.com
Wed Sep 26 10:32:37 UTC 2012


As Kevin pointed out a <message> stanza with type of remove would not be
valid, as that was what you originally said was being sent.

That trace however shows an <iq> stanza with type of set and sub elements
to remove an item from a roster (which is not what you originally said was
being sent). Which is why there was some confusion, you need to be accurate
about what is being sent :-)

It looks like your client is specifically requesting removal of the item
from the roster, rather than just cancelling a subscription for presence.

If I remember correctly in pidgin you can right click a user in the roster
and cancel presence subscription rather than removing the person from your
"buddy list".

Cheers

Kirk
On 26 Sep 2012 11:06, "David Dang" <daviddang888 at gmail.com> wrote:

> yes, i sure.
> [image: Inline image 1]
>
> On Wed, Sep 26, 2012 at 5:56 PM, Kevin Smith <kevin at kismith.co.uk> wrote:
>
>> On Wed, Sep 26, 2012 at 10:51 AM, David Dang <daviddang888 at gmail.com>
>> wrote:
>> > <message type=remove/> is sent.
>>
>> "remove" isn't a legal type for a message stanza. Are you sure you're
>> seeing it? It would suggest a pretty significant bug somewhere.
>>
>> /K
>> _______________________________________________
>> JDev mailing list
>> Info: http://mail.jabber.org/mailman/listinfo/jdev
>> Unsubscribe: JDev-unsubscribe at jabber.org
>> _______________________________________________
>>
>
>
> _______________________________________________
> JDev mailing list
> Info: http://mail.jabber.org/mailman/listinfo/jdev
> Unsubscribe: JDev-unsubscribe at jabber.org
> _______________________________________________
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.jabber.org/jdev/attachments/20120926/5e32f534/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: packet.png
Type: image/png
Size: 13594 bytes
Desc: not available
URL: <https://www.jabber.org/jdev/attachments/20120926/5e32f534/attachment.png>


More information about the JDev mailing list