diff libpurple/protocols/msn/contact.c @ 24518:4fd22591e3f0

Send FQY as the first thing when adding a buddy so that we know what network they use. Should be helpful for adding federated buddies. References #6755.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Sun, 07 Dec 2008 07:09:57 +0000
parents 2b4c909b40c4
children 3915331092b2
line wrap: on
line diff
--- a/libpurple/protocols/msn/contact.c	Sun Dec 07 07:04:23 2008 +0000
+++ b/libpurple/protocols/msn/contact.c	Sun Dec 07 07:09:57 2008 +0000
@@ -981,8 +981,6 @@
 		msn_userlist_add_buddy_to_list(userlist, state->who, MSN_LIST_FL);
 	}
 
-	msn_notification_send_fqy(session, state->who);
-
 	user = msn_userlist_find_add_user(userlist, state->who, state->who);
 	msn_user_add_group_id(user, state->guid);
 
@@ -1072,7 +1070,6 @@
 			msn_userlist_add_buddy_to_list(userlist, state->who, MSN_LIST_AL);
 			msn_userlist_add_buddy_to_list(userlist, state->who, MSN_LIST_FL);
 		}
-		msn_notification_send_fqy(state->session, state->who);
 
 		if (msn_userlist_user_is_in_list(user, MSN_LIST_PL)) {
 			msn_del_contact_from_list(state->session, NULL, state->who, MSN_LIST_PL);