2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 14:45:14 +00:00

First working auth by QR code.

This commit is contained in:
John Preston
2019-11-22 12:40:52 +03:00
parent 95ba12e3cb
commit d5718f96b8
19 changed files with 380 additions and 57 deletions

View File

@@ -79,7 +79,7 @@ private:
int _priority = 1;
using RequestedInDc = std::array<int64, MTP::kDownloadSessionsCount>;
std::map<MTP::DcId, RequestedInDc> _requestedBytesAmount;
base::flat_map<MTP::DcId, RequestedInDc> _requestedBytesAmount;
base::flat_map<MTP::DcId, crl::time> _killDownloadSessionTimes;
base::Timer _killDownloadSessionsTimer;