Commit Graph

166 Commits

Author SHA1 Message Date
levlam
e9794b9215 Reget config after account phone number is changed. 2024-03-29 17:37:44 +03:00
levlam
fd1d1dbb6c Add "can_set_new_chat_privacy_settings" option. 2024-03-29 16:51:53 +03:00
levlam
2930b87c86 Update "can_use_text_entities_in_story_caption" with other Premium options. 2024-03-29 16:31:49 +03:00
levlam
e895a46ed5 Add "business_features" internal option. 2024-03-29 01:14:59 +03:00
levlam
87c9cc1db5 Add "business_intro_title_length_max" and "business_intro_message_length_max" options. 2024-03-19 15:31:17 +03:00
levlam
2c61318a11 Move some methods to PeopleNearbyManager. 2024-03-11 01:42:08 +03:00
levlam
b3b63bbdc1 Update version to 1.8.26. 2024-03-08 14:33:22 +03:00
levlam
b53fca6284 Rename option to "quick_reply_shortcut_message_count_max". 2024-03-05 14:44:57 +03:00
levlam
e61c4d03e5 Add "quick_reply_message_count_max" option. 2024-03-04 13:28:55 +03:00
levlam
f7b6f81c52 Add "quick_reply_shortcut_count_max" option. 2024-03-04 13:27:23 +03:00
levlam
d93a99e335 Update version to 1.8.25. 2024-02-16 01:00:29 +03:00
levlam
0369a1a185 Check options in alphabetical order. 2024-02-15 16:32:03 +03:00
levlam
83a92d5258 Support supergroup boost options. 2024-02-09 14:03:53 +03:00
levlam
c5c55092dd Update version to 1.8.24. 2024-01-27 03:43:28 +03:00
levlam
d3a5025dae Remove unused header. 2024-01-26 17:07:42 +03:00
levlam
168bba072d Remove UpdatesManager::init_sessions, because sessions are inited now by choosing of random one to send request, and init_sessions isn't called after temporary key is changed. 2024-01-25 22:33:44 +03:00
levlam
c95cb5d75c Minor imrovements. 2024-01-25 20:06:07 +03:00
levlam
4464a8479b Use FlatHashSet to check internal options. 2024-01-25 18:50:37 +03:00
levlam
5baf9f52f8 Add internal "pm_read_date_expire_period" option. 2024-01-09 13:41:59 +03:00
levlam
643b896958 Add td_api::premiumLimitTypePinnedSavedMessagesTopicsCount. 2024-01-18 18:34:39 +03:00
levlam
e7fbcd9d2a Call G()->is_test_dc() only once. 2024-01-24 15:01:14 +03:00
levlam
f24bc41596 Move setting of default option values from ContactsManager to OptionManager. 2024-01-24 14:59:09 +03:00
levlam
5bbfc1cf5d Update premium options on launch only for regular users. 2024-01-23 21:03:04 +03:00
levlam
3cb6ed90db Directly use thread-unsafe key value when initializing it. 2024-01-23 20:36:29 +03:00
levlam
0c8e63c2f5 Optimize set_default_integer_option. 2024-01-23 20:29:31 +03:00
levlam
8d2d2de0d0 Add set_default_integer_option lambda-helper. 2024-01-23 20:16:26 +03:00
levlam
0190bf2b1f Use for_each instead of a temporary map in OptionManager::OptionManager. 2024-01-23 19:42:28 +03:00
levlam
2a9393ff7a Add "process_pinned_messages_as_mentions" option to allow keep previous behavior. 2024-01-19 22:23:26 +03:00
levlam
d963044eb9 Update copyright year. 2024-01-01 03:07:21 +03:00
levlam
27c3eaeb49 Update version to 1.8.23. 2023-12-28 00:36:12 +03:00
levlam
e3a01fddd7 Improve includes. 2023-12-26 21:39:48 +03:00
levlam
969f4a764f Remove "channel_custom_accent_color_boost_level_min" option. 2023-12-26 19:20:06 +03:00
levlam
e4038723b2 Support internal min boost level options. 2023-12-26 19:12:00 +03:00
levlam
91013ee921 Add "chat_available_reaction_count_max" option. 2023-12-26 17:11:34 +03:00
levlam
559cbe5de9 Always update premium-dependent options. 2023-12-08 12:57:13 +03:00
levlam
24893faf75 Update version to 1.8.22. 2023-12-01 23:19:05 +03:00
levlam
ea9e99407f Add "chat_boost_level_max" option. 2023-11-28 14:31:43 +03:00
levlam
00f09dae62 Add td_api::premiumLimitTypeSimilarChatCount. 2023-11-28 14:22:08 +03:00
levlam
3870c29b15 Update version to 1.8.21. 2023-11-06 20:52:28 +03:00
levlam
25eebd3d6f Update default option value. 2023-10-28 22:38:57 +03:00
levlam
adad6d6984 Add "message_reply_quote_length_max" option. 2023-10-27 02:21:29 +03:00
levlam
d7a6e74bea Add "premium_gift_boost_count" option. 2023-10-24 15:34:22 +03:00
levlam
6ec7ab73e5 Add "giveaway_duration_max" option. 2023-10-18 18:28:55 +03:00
levlam
7eec2eb54b Add "giveaway_boost_count_per_premium" option. 2023-10-18 18:25:42 +03:00
levlam
c249fe39af Add "channel_custom_accent_color_boost_level_min" option. 2023-10-18 18:22:54 +03:00
levlam
a6f0260cf2 Add "giveaway_country_count_max" option. 2023-10-13 14:06:05 +03:00
levlam
e24f68a4ff Add "giveaway_additional_chat_count_max" option. 2023-10-13 13:39:14 +03:00
levlam
4ed0b23c9c Update version to 1.8.20. 2023-10-13 00:45:38 +03:00
levlam
2589c3fd46 Update version to 1.8.19. 2023-09-22 16:22:03 +03:00
levlam
0f7193172b Add premiumLimitTypeStorySuggestedReactionAreaCount. 2023-09-18 19:47:34 +03:00