From: Nathan W. <fac...@us...> - 2004-08-05 17:11:21
|
Update of /cvsroot/gaim/gaim/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10186/src Modified Files: idle.c Log Message: this will either fix the jabber-doesn't-go-auto-away thing, or eat everything on your hard drive. or maybe something in between. Index: idle.c =================================================================== RCS file: /cvsroot/gaim/gaim/src/idle.c,v retrieving revision 1.56 retrieving revision 1.57 diff -u -d -p -r1.56 -r1.57 --- idle.c 15 Jun 2004 04:18:26 -0000 1.56 +++ idle.c 5 Aug 2004 17:11:10 -0000 1.57 @@ -90,7 +90,8 @@ gint check_idle(gpointer data) (idle_time > (60 * gaim_prefs_get_int("/core/away/mins_before_away"))) && (!gc->is_auto_away)) { - if (!gc->away) { + if (!gc->away && !*gc->away && (!gc->away_state || + !strcmp(gc->away_state, GAIM_AWAY_CUSTOM))) { struct away_message *default_away = NULL; const char *default_name; GSList *l; |