changeset 10612:f0fd35985cb0

[gaim-migrate @ 12067] This should fix using multiple switchboards for a single conversation, which was happening when Gaim didn't initiate the conversation. committer: Tailor Script <tailor@pidgin.im>
author Stu Tomlinson <stu@nosnilmot.com>
date Sat, 19 Feb 2005 19:46:09 +0000
parents 41a18bf60ee1
children 351449bb5a74
files src/protocols/msn/switchboard.c
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/msn/switchboard.c	Sat Feb 19 02:41:19 2005 +0000
+++ b/src/protocols/msn/switchboard.c	Sat Feb 19 19:46:09 2005 +0000
@@ -854,14 +854,20 @@
 		serv_got_chat_in(gc, swboard->chat_id, passport, 0, body_final,
 						 time(NULL));
 		if (swboard->conv == NULL)
+		{
 			swboard->conv = gaim_find_chat(gc, swboard->chat_id);
+			swboard->flag |= MSN_SB_FLAG_IM;
+		}
 	}
 	else
 	{
 		serv_got_im(gc, passport, body_final, 0, time(NULL));
 		if (swboard->conv == NULL)
+		{
 			swboard->conv = gaim_find_conversation_with_account(GAIM_CONV_IM,
 									passport, gaim_connection_get_account(gc));
+			swboard->flag |= MSN_SB_FLAG_IM;
+		}
 	}
 
 	g_free(body_final);