Commit Graph

8820 Commits

Author SHA1 Message Date
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
levlam
94a8cd0046 Fix checks for *Full initialization to avoid file resaving. 2022-10-06 14:10:33 +03:00
levlam
1e6a6c28af Synchronously load file in FileManager::add_file_source to avoid resaving it to the database. 2022-10-06 13:48:52 +03:00
levlam
6176272d60 SQLite: fix handling of SQLITE_DEFAULT_SYNCHRONOUS macros. 2022-10-06 01:47:45 +03:00
levlam
4af5c4f5dd Add logging for slow logging to file. 2022-10-05 23:55:50 +03:00
levlam
7ff1ec04b1 Improve log and error messages. 2022-10-05 21:29:05 +03:00
levlam
c6c8fdcb10 Improve SQLite logging. 2022-10-05 18:24:19 +03:00
levlam
59acbf6d15 Add warnings about big file nodes. 2022-10-05 16:32:16 +03:00
levlam
7c2fae669a Fix warning. 2022-10-05 16:23:08 +03:00
levlam
ff91aa0192 Build and install only OpenSSL libraries in iOS example. Fixes #2152. Update OpenSSL to 1.0.2u. 2022-10-05 14:31:02 +03:00
levlam
7aa6f2bf91 Add ConcurrentScheduler::get_thread_id. 2022-10-04 23:12:50 +03:00
levlam
67aa7082d6 Add thread.get_id() test. 2022-10-04 23:00:02 +03:00
levlam
e984706622 Add td:🧵:get_id(). 2022-10-04 22:48:55 +03:00
levlam
f0b4824924 Allow to start OptionManager on any scheduler. 2022-10-04 21:08:07 +03:00
levlam
b9c5518c91 ClientActor: create Td on desired thread. 2022-10-04 19:02:31 +03:00
levlam
8d1ee490ad Update response of getChatAvailableMessageSenders. 2022-10-04 17:53:56 +03:00
levlam
bbd97ec59e Make TdApi default constructor private. 2022-10-04 15:19:46 +03:00
levlam
af5ddbfa15 Use WaitFreeHashMap for resolved_usernames. 2022-10-04 14:53:46 +03:00