Mercurial > hg
diff mcabber/src/screen.c @ 339:e4ed1aec2988
Auto-away improvement
Auto-away only change the status if it is available (i.e. online) or
free-for-chat. Other status are left alone.
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Mon, 18 Jul 2005 22:47:52 +0100 |
parents | eb994ee40029 |
children | 6e4e667c5571 |
line wrap: on
line diff
--- a/mcabber/src/screen.c Mon Jul 18 21:49:18 2005 +0100 +++ b/mcabber/src/screen.c Mon Jul 18 22:47:52 2005 +0100 @@ -512,7 +512,7 @@ cur_st = jb_getstatus(); // Auto-away is disabled for the following states - if ((cur_st == away) || (cur_st == notavail) || (cur_st == invisible)) + if ((cur_st != available) && (cur_st != freeforchat)) return; if (!activity) {