changeset 19786:ef06a1fb425e

[gaim-migrate @ 17100] fix the bug of MSN picture by processing ILN and NLN command thanks for chris help! committed by MaYuan<mayuan2006@gmail.com> committer: Ethan Blanton <elb@pidgin.im>
author Ma Yuan <mayuan2006@gmail.com>
date Thu, 31 Aug 2006 12:38:50 +0000
parents ea8b7028e8bb
children 54f287047d4e
files src/protocols/msn/notification.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/msn/notification.c	Sun Aug 27 11:45:02 2006 +0000
+++ b/src/protocols/msn/notification.c	Thu Aug 31 12:38:50 2006 +0000
@@ -886,7 +886,7 @@
 
 	msn_user_set_friendly_name(user, friendly);
 
-	if (session->protocol_ver >= 9 && cmd->param_count == 7){
+	if (session->protocol_ver >= 9 && cmd->param_count == 8){
 		msnobj = msn_object_new_from_string(gaim_url_decode(cmd->params[6]));
 		msn_user_set_object(user, msnobj);
 	}
@@ -938,7 +938,7 @@
 	msn_user_set_friendly_name(user, friendly);
 
 	if (session->protocol_ver >= 9){
-		if (cmd->param_count == 6){
+		if (cmd->param_count == 7){
 			msnobj = msn_object_new_from_string(gaim_url_decode(cmd->params[5]));
 			msn_user_set_object(user, msnobj);
 		}else{