# HG changeset patch # User Luke Schierer # Date 1079242777 0 # Node ID ea999c4a9a114c25e23851f8ba74e42a6fafdf50 # Parent be172fe866acccda546b173cc2eee88dd5d5fcd3 [gaim-migrate @ 9171] " This fixes a bug where sometimes we'd think people were idle when they weren't. I think it was xgrimx (unless it was Simguy) who pointed this out, coming back from going away made them idle. But not really. Gaim just thought so." --marv again committer: Tailor Script diff -r be172fe866ac -r ea999c4a9a11 src/protocols/yahoo/yahoo.c --- a/src/protocols/yahoo/yahoo.c Sun Mar 14 05:37:41 2004 +0000 +++ b/src/protocols/yahoo/yahoo.c Sun Mar 14 05:39:37 2004 +0000 @@ -379,6 +379,12 @@ case 47: /* is custom status away or not? 2=idle*/ if (!f) break; + + /* I have no idea what it means when this is + * set when someone's available, but it doesn't + * mean idle. */ + if (f->status == YAHOO_STATUS_AVAILABLE) + break; f->away = strtol(pair->value, NULL, 10); if (f->away == 2) f->idle = time(NULL);