Commit Graph

8837 Commits

Author SHA1 Message Date
levlam
60f094bdf2 Move ConcurrentHashMap test out of namespace td. 2022-10-21 13:18:58 +03:00
levlam
f12ca7fbcb Move test's KDF3 out of namespace td. 2022-10-21 06:31:49 +03:00
levlam
42244e0a77 Use suggested_video_note_length as default size for video notes. 2022-10-21 00:10:43 +03:00
levlam
a13afd0a93 Use std::move to update document fields. 2022-10-20 01:16:24 +03:00
levlam
807d18cefc Improve documentation. 2022-10-19 13:14:16 +03:00
levlam
d9fecc6cb0 Explicitly set promise in on_update_message_reactions. 2022-10-19 06:07:30 +03:00
levlam
eecec61fa9 Move get_background_url to LinkManager. 2022-10-18 22:52:47 +03:00
levlam
a54ddc8830 Call MessagesManager::on_dialog_bots_updated even the list of bots wasn't changed. 2022-10-17 17:40:59 +03:00
levlam
9ceab403c6 Send updateMessageSendFailed when closing for being uploaded messages. 2022-10-16 14:39:26 +03:00
levlam
5217a86e0d Support redirect_stderr in AsyncFileLog. 2022-10-15 10:17:42 +03:00
levlam
bfd8c8dcf3 Fix OpenSSL building in iOS example. 2022-10-14 23:09:16 +03:00
levlam
ec86b34d55 Don't allow TQueue::run_gc to run for more than 50 milliseconds. 2022-10-13 16:04:24 +03:00
levlam
ec4ae065b0 Simplify TQueue::run_gc. 2022-10-13 15:22:06 +03:00
levlam
de5379f00b Add more checks for close_status. 2022-10-13 14:51:00 +03:00
levlam
c1a3fa633f Move is_valid_username to misc.h. 2022-10-12 16:09:42 +03:00
levlam
ee28a37906 Minor improvements. 2022-10-12 15:59:58 +03:00
levlam
0b29caaac1 tg_cli: unify function names. 2022-10-12 15:03:47 +03:00
levlam
3c257c2258 Fix CallActor closing. 2022-10-12 01:55:32 +03:00
levlam
2dd1185eae tg_cli: add last_message_date to ghf. 2022-10-11 23:36:23 +03:00
levlam
9b16702674 Add ContactsManager::get_dialog_search_text. 2022-10-11 20:35:35 +03:00
levlam
62403aac3c Simplify username caching. 2022-10-11 15:13:06 +03:00
levlam
102c40cc3b Asynchronously check local location for downloaded files. 2022-10-10 16:24:32 +03:00
levlam
188a7b7c3e Pass promise to FileManager::download. 2022-10-10 15:40:39 +03:00
levlam
3648df4e0d Asynchronously check location for files loaded from database. 2022-10-10 14:51:24 +03:00
levlam
28c3c7fb03 Add FileManager::check_local_location_async. 2022-10-10 14:19:35 +03:00
levlam
f26f05a074 Move check_local_location to FileLoaderUtils. 2022-10-10 12:58:48 +03:00
levlam
6786276481 Improve FileManager::check_local_location. 2022-10-10 12:45:20 +03:00
levlam
af3c33e481 Simplify local location check in FileManager::download. 2022-10-10 12:11:40 +03:00
levlam
f1146d05bd Make FileManager::check_local_location static. 2022-10-09 22:15:46 +03:00
levlam
f86f8e5a85 Don't check local file size for downloaded files. 2022-10-09 21:20:57 +03:00
levlam
683627a350 Make all operator bool const and nonexcept. 2022-10-09 19:30:18 +03:00
levlam
445cd4118d Improve 'always be' spelling. 2022-10-09 19:18:33 +03:00
levlam
7f5f6e41ad Minor improvements. 2022-10-09 19:00:14 +03:00
levlam
5a29dcd337 Avoid redundant usages of Status::error(). 2022-10-09 14:15:54 +03:00
levlam
78ba8fa983 Add AsyncFileLog. 2022-10-09 13:04:57 +03:00
levlam
7e1555531c Fix warning. 2022-10-08 21:56:51 +03:00
levlam
829201278f Fix call discarding. 2022-10-08 21:00:15 +03:00
levlam
f12b2f5efe Fix warning. 2022-10-08 20:54:58 +03:00
levlam
a7a17b34b3 Update version to 1.8.7. 2022-10-07 01:49:49 +03:00
levlam
68d6c43f02 Add Dockerfile for Android example. 2022-10-07 01:47:03 +03:00
levlam
d4bf6f9239 Send updateMessageSendFailed about being sent messages on closing if there is no message database. 2022-10-07 01:38:39 +03:00
levlam
b1f2e553cb Explicitly fail some promises stored in MessagesManager. 2022-10-07 01:28:18 +03:00
levlam
7115f19332 Suppress expected warnings. 2022-10-06 18:31:01 +03:00
levlam
09cffa693a Improve source for telegram_api::updates. 2022-10-06 18:21:25 +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
c91e8d6ce2 Improve logging. 2022-10-06 16:29:35 +03:00
levlam
b03f869ee9 Fix duplicate file source creation for web pages. 2022-10-06 15:32:50 +03:00
levlam
78314b2da9 Immediately ignore duplicate and invalid file sources loaded from database. 2022-10-06 15:15:45 +03:00
levlam
a235628428 Avoid creation of multiple FileSourceId for the same URL. 2022-10-06 15:09:00 +03:00