Mercurial > pidgin
changeset 2876:caec520fde0b
[gaim-migrate @ 2889]
neasdgfjasiasldngp
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Tue, 11 Dec 2001 16:37:07 +0000 |
parents | bc8f5a2231b8 |
children | 403dd881dcc4 |
files | src/protocols/yahoo/yahoo.c |
diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/protocols/yahoo/yahoo.c Tue Dec 11 10:37:32 2001 +0000 +++ b/src/protocols/yahoo/yahoo.c Tue Dec 11 16:37:07 2001 +0000 @@ -777,9 +777,9 @@ return "Stepped Out"; case YAHOO_STATUS_INVISIBLE: return "Invisible"; + default: + return "Online"; } - - return "Online"; } static GList *yahoo_buddy_menu(struct gaim_connection *gc, char *who) @@ -793,6 +793,8 @@ if (!(b->uc & UC_UNAVAILABLE)) return NULL; + if (b->uc >> 1 == YAHOO_STATUS_IDLE) + return NULL; pbm = g_new0(struct proto_buddy_menu, 1); if ((b->uc >> 1) != YAHOO_STATUS_CUSTOM)