diff src/gtkconv.c @ 13352:475214c22abf

[gaim-migrate @ 15724] SF Patch #1421209 from Sadrul "Currently, if some inactive conversation causes some system messages to be written on the gtkconv, that conversation is made active." Now, "we don't switch at all for non-send/non-recv messages". committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Wed, 01 Mar 2006 02:48:09 +0000
parents 7c8f03ad0e8e
children da2179c099f0
line wrap: on
line diff
--- a/src/gtkconv.c	Wed Mar 01 02:30:58 2006 +0000
+++ b/src/gtkconv.c	Wed Mar 01 02:48:09 2006 +0000
@@ -4624,7 +4624,8 @@
 
 	/* Set the active conversation to the one that just messaged us. */
 	/* TODO: consider not doing this if the account is offline or something */
-	gaim_gtkconv_set_active_conversation(conv);
+	if (flags & (GAIM_MESSAGE_SEND | GAIM_MESSAGE_RECV))
+		gaim_gtkconv_set_active_conversation(conv);
 	type = gaim_conversation_get_type(conv);
 
 	gc = gaim_conversation_get_gc(conv);