Mercurial > pidgin.yaz
diff libgaim/protocols/yahoo/yahoo.c @ 14304:d86ad60af057
[gaim-migrate @ 16994]
If an emblem is really big, scale it down to something sane.
Use a really big emblem (the msn prpl icon) in yahoo.
committer: Tailor Script <tailor@pidgin.im>
author | Tim Ringenbach <marv@pidgin.im> |
---|---|
date | Wed, 23 Aug 2006 04:29:16 +0000 |
parents | b8697618399a |
children | b3697123b01a |
line wrap: on
line diff
--- a/libgaim/protocols/yahoo/yahoo.c Wed Aug 23 04:22:04 2006 +0000 +++ b/libgaim/protocols/yahoo/yahoo.c Wed Aug 23 04:29:16 2006 +0000 @@ -300,7 +300,8 @@ if (strtol(pair->value, NULL, 10) == 0) { if (f) f->status = YAHOO_STATUS_OFFLINE; - gaim_prpl_got_user_status(account, name, "offline", NULL); + if (name) + gaim_prpl_got_user_status(account, name, "offline", NULL); break; } break; @@ -2786,6 +2787,8 @@ emblems[i++] = "wireless"; if (yahoo_friend_get_game(f)) emblems[i++] = "game"; + if (f->protocol == 2) + emblems[i] = "msn"; } *se = emblems[0]; *sw = emblems[1];