diff src/protocols/msn/msn.c @ 8499:467b01d02f9c

[gaim-migrate @ 9235] Multiple MSN chats should now work. Patch by Robert Mibus. Thanks! committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Thu, 25 Mar 2004 02:55:42 +0000
parents 06f57183e29f
children 711927294475
line wrap: on
line diff
--- a/src/protocols/msn/msn.c	Thu Mar 25 00:44:26 2004 +0000
+++ b/src/protocols/msn/msn.c	Thu Mar 25 02:55:42 2004 +0000
@@ -269,7 +269,9 @@
 
 	swboard->total_users = 1;
 
-	swboard->chat = serv_got_joined_chat(gc, ++swboard->chat_id, "MSN Chat");
+	session->last_chat_id++;
+	swboard->chat_id = session->last_chat_id;
+	swboard->chat = serv_got_joined_chat(gc, swboard->chat_id, "MSN Chat");
 
 	gaim_conv_chat_add_user(GAIM_CONV_CHAT(swboard->chat),
 							gaim_account_get_username(account), NULL);
@@ -455,7 +457,9 @@
 	if (!gaim_ssl_is_supported())
 	{
 		gaim_connection_error(gc,
-			_("SSL support is needed for MSN. Please install a supported SSL library. See http://gaim.sf.net/faq-ssl.php for more information."));
+			_("SSL support is needed for MSN. Please install a supported "
+			  "SSL library. See http://gaim.sf.net/faq-ssl.php for more "
+			  "information."));
 
 		return;
 	}