mcabber/src/screen.c
changeset 339 e4ed1aec2988
parent 336 eb994ee40029
child 358 6e4e667c5571
equal deleted inserted replaced
338:7bd4ffee9497 339:e4ed1aec2988
   510   if (!autoaway_timeout) return;
   510   if (!autoaway_timeout) return;
   511   if (!LastActivity || activity) time(&LastActivity);
   511   if (!LastActivity || activity) time(&LastActivity);
   512 
   512 
   513   cur_st = jb_getstatus();
   513   cur_st = jb_getstatus();
   514   // Auto-away is disabled for the following states
   514   // Auto-away is disabled for the following states
   515   if ((cur_st == away) || (cur_st == notavail) || (cur_st == invisible))
   515   if ((cur_st != available) && (cur_st != freeforchat))
   516     return;
   516     return;
   517 
   517 
   518   if (!activity) {
   518   if (!activity) {
   519     time_t now;
   519     time_t now;
   520     time(&now);
   520     time(&now);