Mercurial > pidgin
diff src/protocols/yahoo/yahoo.c @ 10126:3c3795562256
[gaim-migrate @ 11163]
this fixes yahoo's emblems some, but the priorities are still fscked or
something, bleeter appears offline because a higher priority version of
himself is offline...
committer: Tailor Script <tailor@pidgin.im>
author | Tim Ringenbach <marv@pidgin.im> |
---|---|
date | Tue, 19 Oct 2004 05:17:14 +0000 |
parents | bde7418a2573 |
children | e47d1bf844c9 |
line wrap: on
line diff
--- a/src/protocols/yahoo/yahoo.c Tue Oct 19 04:39:55 2004 +0000 +++ b/src/protocols/yahoo/yahoo.c Tue Oct 19 05:17:14 2004 +0000 @@ -2575,6 +2575,9 @@ GaimConnection *gc; struct yahoo_data *yd; YahooFriend *f; + GaimPresence *presence; + GaimStatus *status; + const char *status_id; if (!b || !(account = b->account) || !(gc = gaim_account_get_connection(account)) || !(yd = gc->proto_data)) @@ -2586,7 +2589,11 @@ return; } - if (b->present == GAIM_BUDDY_OFFLINE) { + presence = gaim_buddy_get_presence(b); + status = gaim_presence_get_active_status(presence); + status_id = gaim_status_get_id(status); + + if (gaim_presence_is_online(presence) == FALSE) { *se = "offline"; return; } else {