From: Christopher (s. O'B. <tal...@us...> - 2006-04-06 03:56:51
|
Update of /cvsroot/gaim/gaim/src/protocols/sametime In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11280/src/protocols/sametime Modified Files: sametime.c Log Message: another sametime client is polluting idle values. I've submitted a bug to their team, but this will help hide it sometimes Index: sametime.c =================================================================== RCS file: /cvsroot/gaim/gaim/src/protocols/sametime/sametime.c,v retrieving revision 1.70 retrieving revision 1.71 diff -u -d -p -r1.70 -r1.71 --- sametime.c 4 Apr 2006 21:33:46 -0000 1.70 +++ sametime.c 6 Apr 2006 03:56:42 -0000 1.71 @@ -500,16 +500,13 @@ static void mw_aware_list_on_aware(struc stat = aware->status.status; id = aware->id.user; - /* not sure which client sends this yet */ - if(idle == 0xdeadbeef || idle < 0 || idle > time(NULL)) { - /* knock knock! - who's there? - rude interrupting cow. - rude interr... - MOO! */ + if(idle) { + DEBUG_INFO("%s has idle value 0x%x\n", NSTR(id), idle); - DEBUG_INFO("%s has messy idle value 0x%x\n", NSTR(id), idle); - idle = -1; + if(idle < 0 || idle > time(NULL)) { + DEBUG_INFO("hiding a messy idle value 0x%x\n", NSTR(id), idle); + idle = -1; + } } switch(stat) { |