Fix default option value.
This commit is contained in:
parent
2684d8e4a3
commit
9b6ff5863e
@ -159,7 +159,7 @@ OptionManager::OptionManager(Td *td)
|
|||||||
set_default_integer_option("paid_reaction_star_count_max", 2500);
|
set_default_integer_option("paid_reaction_star_count_max", 2500);
|
||||||
set_default_integer_option("subscription_star_count_max", 2500);
|
set_default_integer_option("subscription_star_count_max", 2500);
|
||||||
set_default_integer_option("usd_to_thousand_star_rate", 1410);
|
set_default_integer_option("usd_to_thousand_star_rate", 1410);
|
||||||
set_default_integer_option("thousand_star_to_usd_rate", 1200);
|
set_default_integer_option("thousand_star_to_usd_rate", 1300);
|
||||||
|
|
||||||
if (options.isset("my_phone_number") || !options.isset("my_id")) {
|
if (options.isset("my_phone_number") || !options.isset("my_id")) {
|
||||||
update_premium_options();
|
update_premium_options();
|
||||||
|
Loading…
Reference in New Issue
Block a user