Mercurial > pidgin.yaz
changeset 25034:ea9e0fa89c02
Update the Address Book when we recieve a new friendly name for a buddy.
That should stop you from seeing a really really old name (or even just the
email address) for buddies who are offline when you sign in.
Fixes #8282.
author | Elliott Sales de Andrade <qulogic@pidgin.im> |
---|---|
date | Fri, 30 Jan 2009 03:27:38 +0000 |
parents | f5188d4d84e3 |
children | 89670ae028bd 75f72178e361 f95aa2b14bec |
files | libpurple/protocols/msn/notification.c |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/protocols/msn/notification.c Fri Jan 30 03:14:29 2009 +0000 +++ b/libpurple/protocols/msn/notification.c Fri Jan 30 03:27:38 2009 +0000 @@ -1094,8 +1094,10 @@ return; } - if (msn_user_set_friendly_name(user, friendly)) + if (msn_user_set_friendly_name(user, friendly)) { serv_got_alias(gc, passport, friendly); + msn_update_contact(session, passport, MSN_UPDATE_DISPLAY, friendly); + } g_free(friendly); msn_user_set_object(user, msnobj); @@ -1237,6 +1239,7 @@ if (msn_user_set_friendly_name(user, friendly)) { serv_got_alias(gc, passport, friendly); + msn_update_contact(session, passport, MSN_UPDATE_DISPLAY, friendly); } if (cmd->param_count == 6)