Reverse message ranges for export.

This commit is contained in:
John Preston 2022-12-23 21:14:45 +04:00
parent b43f8fcff7
commit 891559b3d9
1 changed files with 2 additions and 2 deletions

View File

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