Commit Graph

7536 Commits

Author SHA1 Message Date
levlam
835ee52491 Make TdParameters private in Global. 2023-03-13 19:47:38 +03:00
levlam
68336dbefc Add option "ignore_file_names". 2023-03-13 19:19:13 +03:00
levlam
cac5c4467a Replace value of "use_storage_optimizer" option with value of the corresponding TDLib parameter. 2023-03-13 19:10:26 +03:00
levlam
1bd581a66d Use explicit CHECK instead of vector::at. 2023-03-13 18:48:35 +03:00
levlam
32d0433c26 Add "disable_network_statistics" option. 2023-03-13 17:26:23 +03:00
levlam
2baff56b7a Don't store TdParameters in Td. 2023-03-13 16:30:11 +03:00
levlam
7bd211fd82 Improve TdParameters. 2023-03-13 16:06:43 +03:00
levlam
0f45b3bd6e Don't clean TdParameters on closing. 2023-03-13 15:54:05 +03:00
levlam
b373fc6f2b Update scheduled_message_date when message date changes. 2023-03-13 15:43:15 +03:00
levlam
8847638d28 Autostart bots with non-empty message history. 2023-03-11 23:18:24 +03:00
levlam
6c92eaf59e Fix reload_dialog_administrators. 2023-03-10 13:13:57 +03:00
levlam
7d9a443650 Fix compilation error. 2023-03-09 23:12:32 +03:00
levlam
703ef13a86 Fix messageSendOptions processing. 2023-03-09 22:21:24 +03:00
levlam
6c53a61162 Don't process USER_PRIVACY_RESTRICTED errors for bots. 2023-03-09 18:11:12 +03:00
levlam
c2a25b7652 Don't try to reload channel scheduled messages if have no access to them. 2023-03-09 16:56:48 +03:00
levlam
453aecd9af Ignore USER_NOT_PARTICIPANT error when leaving a channel. 2023-03-09 16:51:12 +03:00
levlam
f100399c8e Don't call getDifference explicitly after failed requests. 2023-03-09 16:41:31 +03:00
levlam
ee3df1d03c Don't try to load broadcast members without being an administrator. 2023-03-09 16:36:33 +03:00
levlam
92837b3bee Reget message to delete it after receiving "MESSAGE_ID_INVALID" from getPollResults. 2023-03-09 15:54:31 +03:00
levlam
95177f4aad Drop last_message_id when the last message is unloaded from memory. 2023-03-09 14:42:26 +03:00
levlam
0c09070ce5 Update version to 1.8.12. 2023-03-08 21:14:44 +03:00
levlam
97968f8956 Add "gift_premium_from_attachment_menu" and "gift_premium_from_input_field" options. 2023-03-08 21:13:29 +03:00
levlam
9260822b6e Add reaction date to addedReaction. 2023-03-08 21:12:45 +03:00
levlam
30ad06aa21 Update layer to 155. 2023-03-08 21:12:09 +03:00
levlam
4b00266a5b Avoid a fatal error in PartManager. 2023-03-08 20:34:23 +03:00
levlam
5cd6b2d853 Handle invalid data index table size. 2023-03-08 19:23:12 +03:00
levlam
e45eaa9939 Handle data parsing errors in ContactsManager. 2023-03-08 19:15:51 +03:00
levlam
57a3773fd6 Call connection_online_update after sending service queries. 2023-03-08 18:27:58 +03:00
levlam
b13ab1e148 Avoid some MultiTimeout usages in NotificationManager while closing. 2023-03-08 16:25:58 +03:00
levlam
17540f1c15 Fix type of size parameter in set_known_prefix. 2023-03-08 16:06:08 +03:00
levlam
1d476d15b8 Add more logging on fatal errors. 2023-03-08 14:11:35 +03:00
levlam
29f919415a Add function for logging the whole PartsManager state. 2023-03-08 14:08:17 +03:00
levlam
3b83d77b2d Return parse error if invalid sticker set identifier is found in the database. 2023-03-08 13:45:44 +03:00
levlam
1af9e9fed1 Add more fatal error logging. 2023-03-08 13:40:06 +03:00
levlam
d157cd3bbb Use safe_promise in FileGenerateManager. 2023-03-08 12:56:49 +03:00
levlam
d2c7584cf4 Fail message parsing immediately if parsed invalid message identifier. 2023-03-08 12:49:22 +03:00
levlam
bce6af3a19 Imrove viewMessages for threads with root messages from albums. 2023-03-07 19:07:12 +03:00
levlam
4803cf970d Universally initialize max_thread_message_id. 2023-03-07 18:22:39 +03:00
levlam
72b6eadd8d tg_cli: disallow '_' as separator. 2023-03-06 21:43:27 +03:00
levlam
a49e63985d Send updateAddChatMembersPrivacyForbidden after successful request response. 2023-03-06 21:42:06 +03:00
levlam
23341647ba Support null updates in get_update_ids. 2023-03-06 21:01:00 +03:00
levlam
e7242b1188 Fix includes. 2023-03-06 20:36:56 +03:00
levlam
d4646d4cd9 Minor improvements. 2023-03-06 16:59:18 +03:00
levlam
6692f9c918 Allow to view additional root thread messages. 2023-03-06 12:35:52 +03:00
levlam
d44351bcd7 Improve error message. 2023-03-05 15:51:00 +03:00
levlam
31be0a5be8 Fix viewMessages.force_read. 2023-03-05 15:49:08 +03:00
levlam
c983eb6eab Fix warning. 2023-03-05 13:12:30 +03:00
levlam
12d04ec684 Rename can_send_messages to can_send_basic_messages. 2023-03-04 21:31:51 +03:00
levlam
040f0a954c Rename share_text to short_description. 2023-03-04 20:31:21 +03:00
levlam
0381558d54 Send td_api::updateAddChatMembersPrivacyForbidden after failed addition of a channel member. 2023-03-03 16:09:29 +03:00