Mercurial > pidgin
changeset 9197:ec417d2f9666
[gaim-migrate @ 9992]
Prevent a "(null)" from displaying when we get an "ADD" for the RL list by
explicitly setting the friendly name.
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Sun, 06 Jun 2004 03:30:20 +0000 |
parents | 336e87c71d06 |
children | ab6636c5a136 |
files | src/protocols/msn/notification.c src/protocols/msn/userlist.c |
diffstat | 2 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/protocols/msn/notification.c Sun Jun 06 03:23:03 2004 +0000 +++ b/src/protocols/msn/notification.c Sun Jun 06 03:30:20 2004 +0000 @@ -318,9 +318,11 @@ user = msn_user_new(session->userlist, passport, friendly); msn_userlist_add_user(session->userlist, user); } + else + msn_user_set_friendly_name(user, friendly); list_id = msn_get_list_id(list); - + if (cmd->param_count >= 6) group_id = atoi(cmd->params[5]); else
--- a/src/protocols/msn/userlist.c Sun Jun 06 03:23:03 2004 +0000 +++ b/src/protocols/msn/userlist.c Sun Jun 06 03:30:20 2004 +0000 @@ -177,7 +177,7 @@ passport = msn_user_get_passport(user); friendly = msn_user_get_friendly_name(user); - + if (list_id == MSN_LIST_FL) { GaimConnection *gc = gaim_account_get_connection(account);