Mercurial > pidgin.yaz
comparison src/protocols/oscar/oscar.c @ 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 | 6fc412e59214 |
comparison
equal
deleted
inserted
replaced
13949:5439d91a0b88 | 13950:da767c69d8b7 |
---|---|
2914 | 2914 |
2915 b = gaim_find_buddy(gaim_connection_get_account(gc), userinfo->sn); | 2915 b = gaim_find_buddy(gaim_connection_get_account(gc), userinfo->sn); |
2916 if (b == NULL) | 2916 if (b == NULL) |
2917 return 1; | 2917 return 1; |
2918 | 2918 |
2919 if (strcmp(gaim_buddy_get_name(b), userinfo->sn)) | 2919 if (!aim_sn_is_icq(userinfo->sn)) |
2920 serv_got_alias(gc, gaim_buddy_get_name(b), userinfo->sn); | 2920 { |
2921 else | 2921 if (strcmp(gaim_buddy_get_name(b), userinfo->sn)) |
2922 serv_got_alias(gc, gaim_buddy_get_name(b), NULL); | 2922 serv_got_alias(gc, gaim_buddy_get_name(b), userinfo->sn); |
2923 else | |
2924 serv_got_alias(gc, gaim_buddy_get_name(b), NULL); | |
2925 } | |
2923 | 2926 |
2924 presence = gaim_buddy_get_presence(b); | 2927 presence = gaim_buddy_get_presence(b); |
2925 status = gaim_presence_get_active_status(presence); | 2928 status = gaim_presence_get_active_status(presence); |
2926 | 2929 |
2927 if (!gaim_status_is_available(status) && gaim_status_is_online(status)) | 2930 if (!gaim_status_is_available(status) && gaim_status_is_online(status)) |