Now unsubscribe

cusax-fix
Damian Minkov 20 years ago
parent d22a9feb5f
commit 41b0635293

@ -559,6 +559,16 @@ public void unsubscribe(Contact contact) throws IllegalArgumentException,
"The specified contact was not found on the local "
+"contact/subscription list: " + contact);
if(!contactIcqImpl.isPersistent())
{
contactGroup.removeContact(contactIcqImpl);
fireSubscriptionEvent(SubscriptionEvent.SUBSCRIPTION_REMOVED,
contactIcqImpl,
contactGroup);
return;
}
MutableGroup joustSimContactGroup = contactGroup.getJoustSimSourceGroup();
joustSimContactGroup.deleteBuddy(contactIcqImpl.getJoustSimBuddy());

Loading…
Cancel
Save