Rename option to "quick_reply_shortcut_message_count_max".
This commit is contained in:
parent
f1c3bb5c33
commit
b53fca6284
@ -1986,7 +1986,8 @@ void ConfigManager::process_app_config(tl_object_ptr<telegram_api::JSONValue> &c
|
||||
continue;
|
||||
}
|
||||
if (key == "quick_reply_messages_limit") {
|
||||
G()->set_option_integer("quick_reply_message_count_max", get_json_value_int(std::move(key_value->value_), key));
|
||||
G()->set_option_integer("quick_reply_shortcut_message_count_max",
|
||||
get_json_value_int(std::move(key_value->value_), key));
|
||||
continue;
|
||||
}
|
||||
|
||||
|
@ -139,7 +139,7 @@ OptionManager::OptionManager(Td *td)
|
||||
set_default_integer_option("group_wallpaper_level_min", is_test_dc ? 3 : 9);
|
||||
set_default_integer_option("group_custom_wallpaper_level_min", is_test_dc ? 4 : 10);
|
||||
set_default_integer_option("quick_reply_shortcut_count_max", is_test_dc ? 10 : 100);
|
||||
set_default_integer_option("quick_reply_message_count_max", 20);
|
||||
set_default_integer_option("quick_reply_shortcut_message_count_max", 20);
|
||||
|
||||
if (options.isset("my_phone_number") || !options.isset("my_id")) {
|
||||
update_premium_options();
|
||||
|
Loading…
Reference in New Issue
Block a user