Ignore unused appConfig option.

This commit is contained in:
levlam 2022-08-09 13:07:54 +03:00
parent cee055350a
commit 8484531d95

View File

@ -1489,9 +1489,10 @@ void ConfigManager::process_app_config(tl_object_ptr<telegram_api::JSONValue> &c
for (auto &key_value : static_cast<telegram_api::jsonObject *>(config.get())->value_) {
Slice key = key_value->key_;
telegram_api::JSONValue *value = key_value->value_.get();
if (key == "message_animated_emoji_max" || key == "stickers_emoji_cache_time" || key == "test" ||
key == "upload_max_fileparts_default" || key == "upload_max_fileparts_premium" ||
key == "wallet_blockchain_name" || key == "wallet_config" || key == "wallet_enabled") {
if (key == "getfile_experimental_params" || key == "message_animated_emoji_max" ||
key == "stickers_emoji_cache_time" || key == "test" || key == "upload_max_fileparts_default" ||
key == "upload_max_fileparts_premium" || key == "wallet_blockchain_name" || key == "wallet_config" ||
key == "wallet_enabled") {
continue;
}
if (key == "ignore_restriction_reasons") {