diff libpurple/protocols/msn/msg.c @ 32305:2ec94166be43

On the way to hiding the PurpleConnection struct. * Added purple_connection_get_flags() and purple_connection_set_flags() * Use purple_connection_ accessor functions.
author andrew.victor@mxit.com
date Tue, 18 Oct 2011 18:47:48 +0000
parents 10e5000326a5
children 4acc5b98f143
line wrap: on
line diff
--- a/libpurple/protocols/msn/msg.c	Tue Oct 18 04:47:58 2011 +0000
+++ b/libpurple/protocols/msn/msg.c	Tue Oct 18 18:47:48 2011 +0000
@@ -688,7 +688,7 @@
 				swboard->flag |= MSN_SB_FLAG_IM;
 			}
 		}
-		else if (!g_str_equal(passport, purple_account_get_username(gc->account)))
+		else if (!g_str_equal(passport, purple_account_get_username(purple_connection_get_account(gc))))
 		{
 			/* Don't im ourselves ... */
 			serv_got_im(gc, passport, body_final, 0, time(NULL));