Mercurial > pidgin.yaz
changeset 13950:da767c69d8b7
[gaim-migrate @ 16494]
Only do something about formatted screen names for AIM, not ICQ
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Sun, 16 Jul 2006 16:59:10 +0000 |
parents | 5439d91a0b88 |
children | 614c56622453 |
files | src/protocols/oscar/oscar.c |
diffstat | 1 files changed, 7 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/src/protocols/oscar/oscar.c Sun Jul 16 16:46:31 2006 +0000 +++ b/src/protocols/oscar/oscar.c Sun Jul 16 16:59:10 2006 +0000 @@ -2916,10 +2916,13 @@ if (b == NULL) return 1; - if (strcmp(gaim_buddy_get_name(b), userinfo->sn)) - serv_got_alias(gc, gaim_buddy_get_name(b), userinfo->sn); - else - serv_got_alias(gc, gaim_buddy_get_name(b), NULL); + if (!aim_sn_is_icq(userinfo->sn)) + { + if (strcmp(gaim_buddy_get_name(b), userinfo->sn)) + serv_got_alias(gc, gaim_buddy_get_name(b), userinfo->sn); + else + serv_got_alias(gc, gaim_buddy_get_name(b), NULL); + } presence = gaim_buddy_get_presence(b); status = gaim_presence_get_active_status(presence);