Mercurial > pidgin.yaz
changeset 8441:ea999c4a9a11
[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 <tailor@pidgin.im>
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Sun, 14 Mar 2004 05:39:37 +0000 |
parents | be172fe866ac |
children | 3d0178c4f390 |
files | src/protocols/yahoo/yahoo.c |
diffstat | 1 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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);