# HG changeset patch # User Richard Laager # Date 1141181289 0 # Node ID 475214c22abf9bc3b08446a22e63325c9c21cc79 # Parent 967dd29cc4ae25f18be600b8d081e42e82c229d4 [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 diff -r 967dd29cc4ae -r 475214c22abf src/gtkconv.c --- 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);