changeset 31112:88a3135c5a23

Fix some inverted logic that prevented us from starting conversations.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Mon, 14 Dec 2009 03:26:44 +0000
parents d32c0a73c689
children a4c45a92938d
files libpurple/protocols/msn/switchboard.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/msn/switchboard.c	Mon Dec 14 03:26:15 2009 +0000
+++ b/libpurple/protocols/msn/switchboard.c	Mon Dec 14 03:26:44 2009 +0000
@@ -959,11 +959,11 @@
 	g_return_if_fail(swboard != NULL);
 
 	if (servconn->session->protocol_ver >= 16)
-		username = g_strdup(purple_account_get_username(account));
-	else
 		username = g_strdup_printf("%s;{%s}",
 		                           purple_account_get_username(account),
 		                           servconn->session->guid);
+	else
+		username = g_strdup(purple_account_get_username(account));
 
 	if (msn_switchboard_is_invited(swboard))
 	{