Commit Graph

158 Commits

Author SHA1 Message Date
levlam
615ddd71e5 Support changes to "story_caption_length_max" option. 2023-07-21 16:38:24 +03:00
levlam
09aa2ec01e Add td_api::premiumLimitTypeStoryCaptionLength. 2023-07-21 15:42:32 +03:00
levlam
0824764b79 Remove "archive_all_stories" option. 2023-08-12 21:53:02 +03:00
levlam
5558825d61 Add class ReactionType. 2023-08-04 18:39:07 +03:00
levlam
fbec238210 Mark "restriction_add_platforms" option as internal. 2023-08-02 12:37:23 +03:00
levlam
0a7c87eb8b Use FlatHashMap in SeqKeyValue. 2023-07-27 13:58:20 +03:00
levlam
c945709bf4 Mark various limit options as internal. 2023-07-21 16:57:11 +03:00
levlam
be9d779f5c Fix "story_caption_length_max" option. 2023-07-21 16:33:39 +03:00
levlam
2e5319ff36 Update version to 1.8.15. 2023-07-20 22:24:40 +03:00
levlam
6685bcfd7a Remove "archive_and_mute_new_chats_from_unknown_users" option. 2023-07-14 15:41:38 +03:00
levlam
1669f8d4b8 Init sessions if there are multiple sessions. 2023-07-12 21:08:01 +03:00
levlam
3937eb7bdf Add "story_viewers_expiration_delay" option. 2023-07-08 08:42:59 +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
8517026415 Update version to 1.8.14. 2023-04-21 13:15:29 +03:00
levlam
241021ae83 Rename chat filters to chat folders. 2023-04-03 17:28:51 +03:00
levlam
eb664b4e9f Update version to 1.8.13. 2023-03-25 09:24:10 +03:00
levlam
68336dbefc Add option "ignore_file_names". 2023-03-13 19:19:13 +03:00
levlam
32d0433c26 Add "disable_network_statistics" option. 2023-03-13 17:26:23 +03:00
levlam
0c09070ce5 Update version to 1.8.12. 2023-03-08 21:14:44 +03:00
levlam
3179d35694 Update version to 1.8.11. 2023-02-02 19:19:34 +03:00
levlam
47fd88b33f Add and use "since_last_open" internal option. 2023-01-30 01:29:33 +03:00
levlam
2d7608459e Support standalone SetPassword suggested action. 2023-01-17 13:22:21 +03:00
levlam
754ff0fc53 Improve handling of internal options with updates. 2023-01-17 14:24:18 +03:00
levlam
02a4851e12 Fix set_option_empty. 2023-01-17 13:55:51 +03:00
levlam
cf1984844b Update copyright year. 2023-01-01 00:28:08 +03:00
levlam
5ee9c7365b Remove "forum_member_count_min" option. 2022-12-31 00:17:18 +03:00
levlam
93c42f6d7c Update version to 1.8.10. 2022-12-30 12:59:58 +03:00
levlam
b203030e5c Add "pinned_forum_topic_count_max" option. 2022-12-29 22:26:09 +03:00
levlam
9663dc98b5 Improve return type of searchChatMessages. 2022-12-28 18:42:11 +03:00
levlam
6516210321 Remove "themed_emoji_statuses_sticker_set_id" option. 2022-12-21 12:26:29 +03:00
levlam
299dc26be6 Add phoneNumberInfo.is_anonymous. 2022-12-20 15:01:39 +03:00
levlam
983cb965cf Add supergroupFullInfo.can_hide_members. 2022-12-20 11:04:00 +03:00
levlam
f2d8575828 Add supergroupFullInfo.can_toggle_aggressive_anti_spam. 2022-12-19 13:59:09 +03:00
levlam
5b5e05c13e Update defeult value for "forum_member_count_min" option. 2022-12-07 01:18:53 +03:00
levlam
9e524598a5 Update version to 1.8.9. 2022-12-06 23:49:39 +03:00
levlam
bc332ffa37 Make option "anti_spam_bot_user_id" public and allow to load the user without network request. 2022-11-30 13:36:44 +03:00
levlam
7e88119c1f Process fragment_prefixes option. 2022-11-29 23:42:29 +03:00
levlam
f7897dc2ba Add "aggressive_anti_spam_supergroup_member_count_min" option. 2022-11-25 17:16:37 +03:00
levlam
e6941d231d Add chatEventMessageDeleted.can_report_anti_spam_false_positive. 2022-11-25 16:50:16 +03:00
levlam
bbe37ee594 Update version to 1.8.8. 2022-11-05 02:50:48 +03:00
levlam
e4fe474d58 Add "forum_member_count_min" option. 2022-11-05 02:43:23 +03:00
levlam
a7a17b34b3 Update version to 1.8.7. 2022-10-07 01:49:49 +03:00
levlam
0a42eda1ff Remove legacy "default_reaction" options. 2022-10-06 18:11:02 +03:00
levlam
b83c04be60 Don't send fake optionValueEmpty while logging out. 2022-10-06 17:59:19 +03:00
levlam
f0b4824924 Allow to start OptionManager on any scheduler. 2022-10-04 21:08:07 +03:00
levlam
15db91b536 Update version to 1.8.6. 2022-09-16 21:38:09 +03:00
levlam
79fcd07956 Add internal options "reactions_user_max_*". 2022-09-09 18:24:42 +03:00
levlam
14a9fda4ef Rename premiumStatus to emojiStatus. 2022-09-07 10:25:21 +03:00
levlam
4370e88352 Add "themed_premium_statuses_sticker_set_id" option. 2022-08-31 19:03:26 +03:00
levlam
fa07382e5b Explicitly pass default_reaction to send_update_default_reaction_type. 2022-08-22 21:29:09 +03:00
levlam
c2a62dbc09 Add updateDefaultReactionType. 2022-08-22 15:23:17 +03:00
levlam
2a2787b7ed Add td_api::setDefaultReactionType. 2022-08-16 23:08:36 +03:00
levlam
73f945bd8b Support setting "is_location_visible" option before authorization. 2022-08-19 14:16:53 +03:00
levlam
26bd2c71b3 Remove my_id from Global. 2022-08-18 20:21:40 +03:00
levlam
3de61c80f2 Postpone some getOption requests until initialization. 2022-08-18 19:54:04 +03:00
levlam
266e5d4b16 Fix setting "is_location_visible" option before authorization. 2022-08-18 19:38:30 +03:00
levlam
29b35f3698 Call on_option_updated only after Td is fully inited. 2022-08-18 19:12:15 +03:00
levlam
bece21cc38 Make OptionManager a plain class. 2022-08-18 18:52:59 +03:00
levlam
fef6ef3c2a Remove conversion from legacy language pack option. 2022-08-18 16:03:58 +03:00
levlam
b772579af1 Fix "utc_time_offset" option updating on launch. 2022-08-18 15:59:32 +03:00
levlam
149d505781 Move option-related functions to OptionManager. 2022-08-18 14:54:57 +03:00
levlam
e897298527 Load animation search options on start and remove redundant fields. 2022-08-17 22:16:16 +03:00
levlam
9fddbf4ee8 Remove redundant parameters. 2022-08-17 21:40:03 +03:00
levlam
f9161dccc3 Remove "auth" internal option. 2022-08-17 20:01:03 +03:00
levlam
3318ffdb20 Proxy all option-related requests through G. 2022-08-17 16:11:13 +03:00
levlam
9f2a6b5fd4 Improve includes. 2022-08-16 09:43:32 +03:00
levlam
febf458091 Move set_default_reaction to MessageReaction.h. 2022-08-15 22:47:02 +03:00
levlam
d9cfcf88fe Update version to 1.8.5. 2022-07-31 03:19:36 +03:00
levlam
e44418f2b3 Add and use everywhere OptionsManager::get_synchronous_options(). 2022-07-11 15:36:29 +03:00
levlam
ee7011538a Use OptionManager::get_option_synchronously internally. 2022-07-11 14:01:56 +03:00
levlam
17a548292b Allow to get synchronously options "version" and "commit_hash". 2022-07-11 13:33:56 +03:00
levlam
61f7da7215 Add option "commit_hash". 2022-07-11 12:57:42 +03:00
levlam
4300c64a30 Add Td::get_version_option_value_object(). 2022-07-11 12:47:23 +03:00
levlam
9fb347fd56 Avoid config reload on start. 2022-06-20 14:34:00 +03:00
levlam
59620b0e7d Add internal premium stickers options. 2022-06-10 13:04:46 +03:00
levlam
bfcf52f87c Support MTPROTO_CLUSTER_INVALID error. 2022-06-06 20:36:15 +03:00
levlam
1e417ea212 Minor fixes. 2022-06-02 16:19:16 +03:00
levlam
42ab42c83a Add bio_length_max option. 2022-05-30 03:23:21 +03:00
levlam
549b86371d Add premiumLimitTypeBioLength. 2022-05-30 02:20:12 +03:00
levlam
38be1031bc Add internal "premium_bot_username" and "premium_invoice_slug" options. 2022-05-24 16:14:25 +03:00
levlam
d986c9bc27 Add option "chat_filter_chosen_chat_count_max". 2022-05-23 20:04:36 +03:00
levlam
e336819ac8 Add and use "chat_filter_count_max" option. 2022-05-23 18:26:54 +03:00
levlam
d87cd52b68 Return information about increased limits for Premium users. 2022-05-23 17:47:06 +03:00
levlam
2166f80ccb Add td_api::getPremiumFeatures. 2022-05-23 15:56:31 +03:00
levlam
3886e9e644 Update config after premium has changed. 2022-05-20 15:20:54 +03:00
levlam
b42c74f561 Minor OptionManager::set_option improvements. 2022-05-14 20:09:08 +03:00
levlam
f1f6e61cd1 Reload all data when going online. 2022-05-12 16:40:53 +03:00
levlam
1c266d65b1 Update notification sound option names. 2022-04-15 21:03:13 +03:00
levlam
c359710cf6 Move default options initialization to OptionManager. 2022-04-12 18:33:46 +03:00
levlam
1780780caf Reload attach menu bots after language code changed. 2022-03-30 14:48:23 +03:00
levlam
d348f205f2 Improve handling of invalid values in setOption. 2022-01-31 18:57:37 +03:00
levlam
b1b945e239 Minor fixes. 2022-01-31 15:56:44 +03:00
levlam
d908117489 Add internal option "reactions_uniq_max". 2022-01-25 22:53:51 +03:00
levlam
facb8f754a Move list of active reactions to MessagesManager. 2022-01-19 18:59:48 +03:00
levlam
dd48b43769 Allow to change default reaction. 2022-01-05 18:03:02 +03:00
levlam
8085779cdc Update copyright year. 2022-01-01 03:35:39 +03:00