Commit Graph

302 Commits

Author SHA1 Message Date
levlam
fbd6f27d7b Don't reload config on restart for bots. 2024-01-24 15:38:11 +03:00
levlam
1f116cdd99 Reuse the same PublicRsaKeySharedMain object. 2024-01-22 02:52:58 +03:00
levlam
0dd1934090 Use separate implementations for main and CDN RSA keys. 2024-01-22 02:15:26 +03:00
levlam
e52d08da74 Use PublicRsaKeyInterface in AuthDataShared. 2024-01-22 01:55:16 +03:00
levlam
d963044eb9 Update copyright year. 2024-01-01 03:07:21 +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
1604ee7b1d Improve includes. 2023-11-30 18:13:23 +03:00
levlam
ea9e99407f Add "chat_boost_level_max" option. 2023-11-28 14:31:43 +03:00
levlam
fbcd4c7198 Use help.getPeerColors to update accent colors. 2023-11-27 16:35:27 +03:00
levlam
e5f457c30f Add updateSpeechRecognitionTrial. 2023-11-21 19:27:25 +03:00
levlam
2a9c7555be Add accentColor.built_in_accent_color_id. 2023-11-02 23:37:42 +03:00
levlam
ab5219f546 Parse accent colors from appConfig. 2023-11-02 14:21:55 +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
0f7193172b Add premiumLimitTypeStorySuggestedReactionAreaCount. 2023-09-18 19:47:34 +03:00
levlam
6a4c78e849 Add internal option "authorization_autoconfirm_period". 2023-09-12 14:32:28 +03:00
levlam
ce2e7192d7 Improve NetQueryPtr variable names. 2023-09-02 22:20:05 +03:00
levlam
d44617b4ea Remove unused variable. 2023-08-15 20:17:27 +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
levlam
0f39a16321 Support "stories_venue_search_username" appConfig option. 2023-08-02 13:59:40 +03:00
levlam
840f2fd7cf Add "active_story_count_max" option. 2023-07-21 17:26:50 +03:00
levlam
615ddd71e5 Support changes to "story_caption_length_max" option. 2023-07-21 16:38:24 +03:00
levlam
0824764b79 Remove "archive_all_stories" option. 2023-08-12 21:53:02 +03:00
levlam
830da27abf Minor improvements. 2023-08-05 15:31:42 +03:00
levlam
5558825d61 Add class ReactionType. 2023-08-04 18:39:07 +03:00
levlam
3303c659bf Use JsonOnject::extract_ if possible. 2023-07-31 18:27:10 +03:00
levlam
58f15df705 Use JsonObject::get_.*_field if possible. 2023-07-31 17:17:52 +03:00
levlam
f817d79b7d Hide unneeded app config option "stories_export_nopublic_link". 2023-07-21 17:42:30 +03:00
levlam
8c69dbcaee Fix "added_shareable_chat_folder_count_max" option. 2023-07-21 17:08:39 +03:00
levlam
be9d779f5c Fix "story_caption_length_max" option. 2023-07-21 16:33:39 +03:00
levlam
723d09ddee Reduce refresh margin for persistent temp auth keys to speed up recover when the old key reregisters after auth.dropTempAuthKeys. 2023-07-17 19:21:18 +03:00
levlam
6685bcfd7a Remove "archive_and_mute_new_chats_from_unknown_users" option. 2023-07-14 15:41:38 +03:00
levlam
3937eb7bdf Add "story_viewers_expiration_delay" option. 2023-07-08 08:42:59 +03:00
levlam
063f1e8ff6 Improve config reloading on restart. 2023-07-03 11:26:32 +03:00
levlam
eb78cf1883 Add "story_caption_length_max" option. 2023-06-29 15:20:30 +03:00
levlam
09a30a4b3c Support stories_changelog_user_id option. 2023-06-27 17:26:17 +03:00
levlam
ca8b80d198 Add Story.can_get_viewers. 2023-06-19 19:13:08 +03:00
levlam
25bfb761d4 Allow to change "archive_all_stories" option. 2023-06-16 17:55:54 +03:00
levlam
4c1ee918b3 Add "archive_all_stories" option. 2023-06-16 14:58:06 +03:00
levlam
030e440757 Update layer to 160. 2023-05-01 21:07:01 +03:00