Wed, 31 Jan 2001 07:36:01 +0000
[gaim-migrate @ 1460]
hi there
| src/idle.c | file | annotate | diff | comparison | revisions |
--- a/src/idle.c Wed Jan 31 04:15:18 2001 +0000 +++ b/src/idle.c Wed Jan 31 07:36:01 2001 +0000 @@ -84,8 +84,12 @@ debug_printf("removing auto-away message for %s\n", gc->username); serv_set_away(gc, GAIM_AWAY_CUSTOM, NULL); } else { - debug_printf("replacing auto-away with global for %s\n", gc->username); - serv_set_away(gc, GAIM_AWAY_CUSTOM, awaymessage->message); + if (g_slist_length(connections) == 1) + do_im_back(0, 0); + else { + debug_printf("replacing auto-away with global for %s\n", gc->username); + serv_set_away(gc, GAIM_AWAY_CUSTOM, awaymessage->message); + } } }