im.pidgin.pidgin: 4d7f27cb775119ea8f6387f00d355857c99e9f44

typ0 at pidgin.im typ0 at pidgin.im
Wed Oct 3 22:41:19 EDT 2007


revision:            4d7f27cb775119ea8f6387f00d355857c99e9f44
date:                2007-10-04T02:04:38
author:              typ0 at pidgin.im
branch:              im.pidgin.pidgin
changelog:
Remove now unnecessary and potentially bad code.

manifest:
format_version "1"

new_manifest [f98df55c6542a1e11f33bf5d81f7f117f1329bfe]

old_revision [144bf1175ad58683f01e24c9a7775732905ce4c7]

patch "libpurple/protocols/msn/contact.c"
 from [237bd2df0ea6cfdc4751fed4cc3ef2bd54db66db]
   to [498b10c1811841704c3a76f0f1b7ecbede5c1863]
-------------- next part --------------
#
#
# patch "libpurple/protocols/msn/contact.c"
#  from [237bd2df0ea6cfdc4751fed4cc3ef2bd54db66db]
#    to [498b10c1811841704c3a76f0f1b7ecbede5c1863]
#
============================================================
--- libpurple/protocols/msn/contact.c	237bd2df0ea6cfdc4751fed4cc3ef2bd54db66db
+++ libpurple/protocols/msn/contact.c	498b10c1811841704c3a76f0f1b7ecbede5c1863
@@ -1024,12 +1024,7 @@ msn_add_contact_read_cb(MsnSoapConn *soa
 	user = msn_userlist_find_add_user(userlist, state->who, state->who);
 	msn_user_add_group_id(user, state->guid);
 
-	if (msn_userlist_user_is_in_list(user, MSN_LIST_PL)) {
-		msn_del_contact_from_list(soapconn->session->contact, NULL, state->who, MSN_LIST_PL);
-	} else {
-		msn_soap_free_read_buf(soapconn);
-	}
-	
+	msn_soap_free_read_buf(soapconn);
 	msn_callback_state_free(state);
 
 	return TRUE;
@@ -1119,12 +1114,6 @@ msn_add_contact_to_group_read_cb(MsnSoap
 		                msn_userlist_add_buddy_to_list(userlist, state->who, MSN_LIST_FL);
 	        }
 	        msn_notification_send_fqy(soapconn->session, state->who);
-
-		if (msn_userlist_user_is_in_list(user, MSN_LIST_PL)) {
-			msn_del_contact_from_list(soapconn->session->contact, NULL, state->who, MSN_LIST_PL);
-			msn_callback_state_free(state);
-			return TRUE;
-		}
 	}
 
 	if (state->action & MSN_MOVE_BUDDY) {


More information about the Commits mailing list