[empathy] Don't assume that removing a user from 'stored' will remove them from all lists



commit 39a0c45a2d7cc77809e6a6e8e34ccd27fef325f3
Author: Danielle Madeley <danielle madeley collabora co uk>
Date:   Mon Feb 8 11:41:44 2010 +1100

    Don't assume that removing a user from 'stored' will remove them from all lists
    
    This doesn't appear to be correct for all CMs (at least, it doesn't appear to
    be correct for Gabble). At least it doesn't appear incorrect to attempt to
    remove the contact from the other lists anyway (#608974).

 libempathy/empathy-tp-contact-list.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/libempathy/empathy-tp-contact-list.c b/libempathy/empathy-tp-contact-list.c
index b936416..b273ad2 100644
--- a/libempathy/empathy-tp-contact-list.c
+++ b/libempathy/empathy-tp-contact-list.c
@@ -990,8 +990,6 @@ tp_contact_list_remove (EmpathyContactList *list,
 	if (priv->stored != NULL) {
 		tp_cli_channel_interface_group_call_remove_members (priv->stored,
 			-1, &handles, message, NULL, NULL, NULL, NULL);
-		/* Contact will be removed from 'publish' and 'subscribe' too */
-		return;
 	}
 
 	if (priv->subscribe) {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]