diff options
author | Wilmer van der Gaast <wilmer@gaast.net> | 2006-05-19 09:55:53 +0200 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@gaast.net> | 2006-05-19 09:55:53 +0200 |
commit | 41ca004ade77a9c343efbd523dd88deb9231487e (patch) | |
tree | c096c4b6b34898e453dbdc9021262214234f66eb /protocols/yahoo/yahoo.c | |
parent | ac83732afa83f21915e536c5c6f29f033f8623a3 (diff) | |
parent | 881fd4e3a6d6405e982239e8b315069b724a1d22 (diff) |
Merging from main development tree.
Diffstat (limited to 'protocols/yahoo/yahoo.c')
-rw-r--r-- | protocols/yahoo/yahoo.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/protocols/yahoo/yahoo.c b/protocols/yahoo/yahoo.c index fba5dfb8..79c0febb 100644 --- a/protocols/yahoo/yahoo.c +++ b/protocols/yahoo/yahoo.c @@ -607,7 +607,8 @@ void ext_yahoo_status_changed( int id, char *who, int stat, char *msg, int away { struct gaim_connection *gc = byahoo_get_gc_by_id( id ); - serv_got_update( gc, who, stat != YAHOO_STATUS_OFFLINE, 0, 0, 0, + serv_got_update( gc, who, stat != YAHOO_STATUS_OFFLINE, 0, 0, + ( stat == YAHOO_STATUS_IDLE ) ? away : 0, ( stat != YAHOO_STATUS_AVAILABLE ) | ( stat << 1 ), 0 ); } |