Ignore useless "reactions_in_chat_max" option.

This commit is contained in:
levlam 2022-11-30 12:56:54 +03:00
parent 5d0a41c807
commit 1ba66081a5

View File

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