Commit Graph

158 Commits

Author SHA1 Message Date
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
levlam
100ca72b91 Update version to 1.8.18. 2023-09-13 18:14:23 +03:00
levlam
64d66fb3dc Delete expired unconfirmed sessions. 2023-09-12 15:44:57 +03:00
levlam
6a4c78e849 Add internal option "authorization_autoconfirm_period". 2023-09-12 14:32:28 +03:00
levlam
edc528457f Update version to 1.8.17. 2023-09-06 15:37:41 +03:00
levlam
cde095db6c Update version to 1.8.16. 2023-08-15 18:11:16 +03:00
levlam
cabd71c3c3 Add weekly and monthly limits for sent stories. 2023-08-11 15:35:13 +03:00
levlam
2cb463dceb Add "can_use_text_entities_in_story_caption" option. 2023-08-09 15:27:28 +03:00
levlam
086df4db4e Add options related to stealth mode. 2023-08-03 17:38:56 +03:00