Commit Graph

74 Commits

Author SHA1 Message Date
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