changeset 19602:fe51c6de1a7f

I can't get this code to trigger. I think the conversion from prpl-oscar to prpl-aim or prpl-icq happens earlier in the pipeline.
author Mark Doliner <mark@kingant.net>
date Mon, 03 Sep 2007 09:44:46 +0000
parents 979d1b4fbe35
children 79d624f7c3ee
files pidgin/gtkmain.c
diffstat 1 files changed, 0 insertions(+), 15 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin/gtkmain.c	Mon Sep 03 09:02:23 2007 +0000
+++ b/pidgin/gtkmain.c	Mon Sep 03 09:44:46 2007 +0000
@@ -774,21 +774,6 @@
 	/* TODO: Move pounces loading into purple_pounces_init() */
 	purple_pounces_load();
 
-	/* HACK BY SEANEGAN:
-	 * We've renamed prpl-oscar to prpl-aim and prpl-icq, accordingly.
-	 * Let's do that change right here... after everything's loaded, but
-	 * before anything has happened
-	 */
-	for (accounts = purple_accounts_get_all(); accounts != NULL; accounts = accounts->next) {
-		PurpleAccount *account = accounts->data;
-		if (!strcmp(purple_account_get_protocol_id(account), "prpl-oscar")) {
-			if (isdigit(*purple_account_get_username(account)))
-				purple_account_set_protocol_id(account, "prpl-icq");
-			else
-				purple_account_set_protocol_id(account, "prpl-aim");
-		}
-	}
-
 	ui_main();
 
 #ifdef USE_SM