Re: Question on Handling-Unsubscribe
From: "Kenny Zhao" <kunfirst@xxxxxxxxx>
Date: Wed, 4 Jul 2007 18:26:36 +0200 (CEST)
hi

my advice is:
to find the user in local roster by jid, if found, it means you were
removed by him, otherwise he refused your request.
someone else have any better idea?

On 7/4/07, Hagit Yidov <hyidov@xxxxxxxxxxxxxxx> wrote:



Hello



I have recently begun using Gloox.



I have a requirement where I need to notify a user when someone has rejected
his subscription request.

To do this I can use:

void IMGlooxAdapter::handleItemUnsubscribed( const JID& jid )



The problem is that this event will also occur in the case where the user
deletes a contact from his list.

How can I distinguish between these to cases?



Thank You

Hagit Yidov



www.interwise.com




--
gloox-dev mailing list
to unsubscribe:
send a message with subject 'unsubscribe gloox-dev' to minimalist@xxxxxxxxxx



--
                                    Kenny Zhao, Beijing, China


                                    EMAIL:     kunfirst@xxxxxxxxx