Question on Handling-Unsubscribe
From: "Hagit Yidov" <hyidov@xxxxxxxxxxxxxxx>
Date: Wed, 4 Jul 2007 16:48:24 +0200 (CEST)
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 <http://www.interwise.com/>