Index: libpurple/protocols/qq/qq.c =================================================================== --- libpurple/protocols/qq/qq.c.orig +++ libpurple/protocols/qq/qq.c @@ -160,17 +160,8 @@ static void qq_login(PurpleAccount *acco purple_debug_info("QQ", "Server list has %d\n", g_list_length(qd->servers)); version_str = purple_account_get_string(account, "client_version", NULL); - qd->client_tag = QQ_CLIENT_0D55; /* set default as QQ2005 */ - qd->client_version = 2005; - if (version_str != NULL && strlen(version_str) != 0) { - if (strcmp(version_str, "qq2007") == 0) { - qd->client_tag = QQ_CLIENT_111D; - qd->client_version = 2007; - } else if (strcmp(version_str, "qq2008") == 0) { - qd->client_tag = QQ_CLIENT_115B; - qd->client_version = 2008; - } - } + qd->client_tag = QQ_CLIENT_115B; /* set default as QQ2008, no alternatives possible any more */ + qd->client_version = 2008; qd->is_show_notice = purple_account_get_bool(account, "show_notice", TRUE); qd->is_show_news = purple_account_get_bool(account, "show_news", TRUE); @@ -1115,16 +1106,6 @@ static void init_plugin(PurplePlugin *pl prpl_info.protocol_options = g_list_append(prpl_info.protocol_options, option); kvp = g_new0(PurpleKeyValuePair, 1); - kvp->key = g_strdup(_("QQ2005")); - kvp->value = g_strdup("qq2005"); - version_kv_list = g_list_append(version_kv_list, kvp); - - kvp = g_new0(PurpleKeyValuePair, 1); - kvp->key = g_strdup(_("QQ2007")); - kvp->value = g_strdup("qq2007"); - version_kv_list = g_list_append(version_kv_list, kvp); - - kvp = g_new0(PurpleKeyValuePair, 1); kvp->key = g_strdup(_("QQ2008")); kvp->value = g_strdup("qq2008"); version_kv_list = g_list_append(version_kv_list, kvp);