From fef6ef3c2a3a980d9d64f3953773d9acfd9950fb Mon Sep 17 00:00:00 2001 From: levlam Date: Thu, 18 Aug 2022 16:03:58 +0300 Subject: [PATCH] Remove conversion from legacy language pack option. --- td/telegram/OptionManager.cpp | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/td/telegram/OptionManager.cpp b/td/telegram/OptionManager.cpp index 4f10c342f..03cfe4852 100644 --- a/td/telegram/OptionManager.cpp +++ b/td/telegram/OptionManager.cpp @@ -71,18 +71,6 @@ OptionManager::OptionManager(Td *td, ActorShared<> parent) } } - if (have_option("language_database_path")) { - set_option_string("language_pack_database_path", get_option_string("language_database_path")); - set_option_empty("language_database_path"); - } - if (have_option("language_pack")) { - set_option_string("localization_target", get_option_string("language_pack")); - set_option_empty("language_pack"); - } - if (have_option("language_code")) { - set_option_string("language_pack_id", get_option_string("language_code")); - set_option_empty("language_code"); - } if (!have_option("message_text_length_max")) { set_option_integer("message_text_length_max", 4096); }