23rd
e318a7d65f
Simplified ranges::find_if with ranges::any_of and ranges::none_of.
2020-06-23 21:53:43 +04:00
John Preston
357caf8007
Keep separate MTP::Config's for separate accounts.
2020-06-23 21:53:41 +04:00
John Preston
0ad7dcaef9
Remove MTP::MainInstance() global access point.
2020-06-23 21:53:40 +04:00
John Preston
1bcde1b55c
Pass cdn_supported flag to upload.getFile.
2020-01-23 10:46:57 +03:00
John Preston
960f50824d
Fix one more crash in CDN file download.
...
The sessionTimedOut could remove a session right between a request
for a file part and a request for additional cdn file hashes.
In this case requestData.sessionIndex was not updated and this
was leading to an assertion violation in changeRequestedAmount.
2020-01-22 16:13:50 +03:00
John Preston
98bc7ce49b
Revert "Pass cdn_supported flag to upload.getFile."
...
This reverts commit 7751f383ca
.
2020-01-20 13:39:18 +03:00
John Preston
12873f8be0
Fix crash in CDN file download.
2020-01-20 13:04:12 +03:00
John Preston
7751f383ca
Pass cdn_supported flag to upload.getFile.
2020-01-20 13:01:38 +03:00
John Preston
d24735b217
Fix possible crash in CDN file loading.
2020-01-17 17:45:43 +03:00
John Preston
fa4d8f2fbd
Support priorities in download tasks.
2019-12-23 12:37:03 +03:00
John Preston
8ae6156477
Fix video quality when opening from chat.
2019-12-23 11:10:11 +03:00
John Preston
ae8fb14f9e
Use 8 seconds timeout for request duration.
2019-12-06 10:05:38 +03:00
John Preston
7fb24d77c0
Check request duration when adding sessions.
2019-12-05 16:38:28 +03:00
John Preston
e426f2895b
Add download sessions if it works fast enough.
2019-12-05 14:46:28 +03:00
John Preston
ee94e78533
All mtproto downloads using DownloadMtprotoTask.
2019-12-05 11:32:33 +03:00