pidgin: 1f1d80e9: Remove some duplicate code.

qulogic at pidgin.im qulogic at pidgin.im
Tue Mar 1 01:40:53 EST 2011


----------------------------------------------------------------------
Revision: 1f1d80e90a5b898d841e2c6f1f5135a98fe14f96
Parent:   7213a4754e9be9412facf1630d7b811256673f4b
Author:   qulogic at pidgin.im
Date:     02/28/11 23:41:59
Branch:   im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/1f1d80e90a5b898d841e2c6f1f5135a98fe14f96

Changelog: 

Remove some duplicate code.

Changes against parent 7213a4754e9be9412facf1630d7b811256673f4b

  patched  libpurple/protocols/msn/switchboard.c

-------------- next part --------------
============================================================
--- libpurple/protocols/msn/switchboard.c	f6249e9ef0696ccef7894acd46d89801b64babf6
+++ libpurple/protocols/msn/switchboard.c	16d761ce9ea53765037407110e91f2bf5ee0f559
@@ -265,12 +265,6 @@ msn_switchboard_add_user(MsnSwitchBoard 
 		return;
 	}
 
-	/* Don't add ourselves either... */
-	if (g_str_equal(passport, purple_account_get_username(account))) {
-		g_free(passport);
-		return;
-	}
-
 	if (!msnuser) {
 		purple_debug_info("msn","User %s is not on our list.\n", passport);
 		msnuser = msn_user_new(userlist, passport, NULL);


More information about the Commits mailing list