# HG changeset patch # User Tim Ringenbach # Date 1098163034 0 # Node ID 3c37955622567c496d41871bdd49fe895bb5d3ee # Parent ee50e47973527b9dbe54422ead44c6cfe11e3d8b [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 diff -r ee50e4797352 -r 3c3795562256 src/protocols/yahoo/yahoo.c --- 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 {