Mercurial > pidgin.yaz
changeset 9676:f83a80c25703
[gaim-migrate @ 10528]
this will either fix the jabber-doesn't-go-auto-away thing, or eat everything on your hard drive. or maybe something in between.
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Thu, 05 Aug 2004 17:11:10 +0000 |
parents | ba78e5a34bed |
children | 70ff55c0939b |
files | src/idle.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/idle.c Thu Aug 05 16:44:48 2004 +0000 +++ b/src/idle.c Thu Aug 05 17:11:10 2004 +0000 @@ -90,7 +90,8 @@ (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;