Commit Graph

17 Commits

Author SHA1 Message Date
levlam
d963044eb9 Update copyright year. 2024-01-01 03:07:21 +03:00
levlam
cf1984844b Update copyright year. 2023-01-01 00:28:08 +03:00
levlam
0b387a61ad Add source to dup_file_id. 2022-11-21 11:40:43 +03:00
levlam
188a7b7c3e Pass promise to FileManager::download. 2022-10-10 15:40:39 +03:00
levlam
f86f8e5a85 Don't check local file size for downloaded files. 2022-10-09 21:20:57 +03:00
levlam
698b34709f Make DownloadManager::add_file asynchronous. 2022-07-23 17:11:25 +03:00
levlam
ec19eaad65 Call FileReferenceManager::get_file_search_text through DownloadManagerCallback. 2022-07-23 17:01:27 +03:00
levlam
4ac8be8122 Check local location of files when adding them to download manager. 2022-07-20 16:46:55 +03:00
levlam
d75791481f Improve FileView::get_main_file_id() method name. 2022-07-03 12:01:08 +03:00
levlam
32bac7bd24 Move Promise to tdutils. 2022-06-27 13:30:18 +03:00
levlam
88ce431f39 Minor fixes. 2022-03-09 03:27:03 +03:00
levlam
89c6b72c8b Add FileCounters to download manager updates. 2022-03-06 03:20:18 +03:00
levlam
044fdb310f Use send_closure_later to avoid cycles. 2022-03-06 02:50:57 +03:00
levlam
a79ae236bc Add new updates about file downloads. 2022-03-05 03:14:31 +03:00
levlam
02c5fcd476 Don't add not downloaded files to recent downloads. 2022-03-03 21:11:34 +03:00
levlam
0ea961ebea Store and use expected file size in DownloadManager. 2022-03-02 15:23:15 +03:00
levlam
eb8e73e534 Move DownloadManagerCallback implementation to cpp. 2022-03-02 14:25:52 +03:00