mirror of https://github.com/procxx/kepka.git
Use reverse chronological order in export.
This commit is contained in:
parent
6c588a8f2f
commit
8f3510b3c4
|
@ -1046,10 +1046,7 @@ void ApiWrap::finishDialogsList() {
|
||||||
Expects(_dialogsProcess != nullptr);
|
Expects(_dialogsProcess != nullptr);
|
||||||
|
|
||||||
const auto process = base::take(_dialogsProcess);
|
const auto process = base::take(_dialogsProcess);
|
||||||
|
|
||||||
ranges::reverse(process->info.chats);
|
|
||||||
Data::FinalizeDialogsInfo(process->info, *_settings);
|
Data::FinalizeDialogsInfo(process->info, *_settings);
|
||||||
|
|
||||||
process->done(std::move(process->info));
|
process->done(std::move(process->info));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue