[gaim-migrate @ 1460]

Wed, 31 Jan 2001 07:36:01 +0000

author
Eric Warmenhoven <warmenhoven@yahoo.com>
date
Wed, 31 Jan 2001 07:36:01 +0000
changeset 1450
acf8fed569d5
parent 1449
180e0a27c43f
child 1451
83ac707227a5

[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);
+			}
 		}
 	}
 

mercurial