Commit Graph

9714 Commits

Author SHA1 Message Date
levlam
28e788995a Fix log message. 2023-03-14 15:30:43 +03:00
levlam
0293189b62 Allow to ignore background updates when file database is used. 2023-03-14 01:50:33 +03:00
levlam
d132c3e50d Add Global::keep_media_order. 2023-03-14 01:48:32 +03:00
levlam
d6faa001e2 Add Global::use_sqlite_pmc. 2023-03-14 01:41:04 +03:00
levlam
47bd6b4ded Don't cancel NotificationManager timeouts while closing. Callbacks will do nothing anyway. 2023-03-13 23:33:31 +03:00
levlam
1ce19c89ed Inline TdDb::binlog_path/sqlite_path. 2023-03-13 22:41:59 +03:00
levlam
201ac65a73 Don't store sqlite_path_ explicitly. 2023-03-13 22:34:23 +03:00
levlam
47c4d50907 Add TdDb::Parameters. 2023-03-13 22:29:56 +03:00
levlam
03e7c4ce7c Improve files_directory checking. 2023-03-13 21:33:35 +03:00
levlam
5b4f29e781 fix database parameters in the database thread, 2023-03-13 21:32:12 +03:00
levlam
367d3eaa2b Move ignore_background_updates() to Td. 2023-03-13 21:13:59 +03:00
levlam
af838647df Explicitly pass use_secret_chats to SecretChatsManager. 2023-03-13 20:35:19 +03:00
levlam
f1311610e5 Remove unneeded TdParameters.h includes. 2023-03-13 20:10:18 +03:00
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
004c442fdf Statically link libstdc++ and libgcc when memprof is enabled. 2023-03-12 22:37:52 +03:00
levlam
8847638d28 Autostart bots with non-empty message history. 2023-03-11 23:18:24 +03:00
levlam
70bee089d4 Fix watchOS building. 2023-03-10 13:22:18 +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
f408b8cec3 Increase timeout for TQueue clear warning to be hardly exceeded. 2023-03-09 13:34:35 +03:00
levlam
7e4f349da8 Move EFAULT to the list of expected errors for ::read. 2023-03-09 00:05:44 +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
aa5093b361 Don't call Callback::on_read for 0 size. 2023-03-08 18:16:08 +03:00
levlam
f670699c8c Improve logging in SessionConnection. 2023-03-08 18:10:07 +03:00
levlam
a8d0459827 Remove duplicated fields from log message. 2023-03-08 17:23:27 +03:00
levlam
b13ab1e148 Avoid some MultiTimeout usages in NotificationManager while closing. 2023-03-08 16:25:58 +03:00
levlam
1bf2d63539 Add source to MultiTimeout::update_timeout. 2023-03-08 16:19:02 +03:00