# HG changeset patch
# User masca@cpw.pidgin.im
# Date 1274843808 0
# Node ID 7fa07adbe482e57531f89df51d1e3c2fd93a45ca
# Parent  930b267d33c01bde75c388a7b93eb68e918c971d
Don't treat messages got from ourself from a switchboard like a new message. This fixes the multiple conversation open with ourself.

diff -r 930b267d33c0 -r 7fa07adbe482 libpurple/protocols/msn/msg.c
--- a/libpurple/protocols/msn/msg.c	Tue May 25 22:06:03 2010 +0000
+++ b/libpurple/protocols/msn/msg.c	Wed May 26 03:16:48 2010 +0000
@@ -883,8 +883,9 @@
 				swboard->flag |= MSN_SB_FLAG_IM;
 			}
 		}
-		else
+		else if (!g_str_equal(passport, purple_account_get_username(gc->account)))
 		{
+			/* Don't im ourselves ... */
 			serv_got_im(gc, passport, body_final, 0, time(NULL));
 			if (swboard->conv == NULL)
 			{