Reverse message ranges for export.

This commit is contained in:
John Preston 2022-12-23 21:14:45 +04:00
parent b43f8fcff7
commit 891559b3d9

View file

@ -490,8 +490,8 @@ void ApiWrap::requestSplitRanges() {
_splits.push_back(MTP_messageRange( _splits.push_back(MTP_messageRange(
MTP_int(1), MTP_int(1),
MTP_int(std::numeric_limits<int>::max()))); MTP_int(std::numeric_limits<int>::max())));
//} else { } else {
// ranges::reverse(_splits); ranges::reverse(_splits);
} }
_startProcess->splitIndex = useOnlyLastSplit() _startProcess->splitIndex = useOnlyLastSplit()
? (_splits.size() - 1) ? (_splits.size() - 1)