mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 22:46:10 +00:00
Some export bugs fixed.
This commit is contained in:
@@ -461,7 +461,7 @@ void ApiWrap::appendDialogsSlice(Data::DialogsInfo &&info) {
|
||||
Expects(_dialogsProcess != nullptr);
|
||||
Expects(_settings != nullptr);
|
||||
|
||||
const auto types = _settings->types | _settings->fullChats;
|
||||
const auto types = _settings->types;
|
||||
auto filtered = ranges::view::all(
|
||||
info.list
|
||||
) | ranges::view::filter([&](const Data::DialogInfo &info) {
|
||||
@@ -519,7 +519,7 @@ void ApiWrap::requestNextDialog() {
|
||||
Expects(_dialogsProcess->single == nullptr);
|
||||
|
||||
const auto index = ++_dialogsProcess->singleIndex;
|
||||
if (index < 11) {// _dialogsProcess->info.list.size()) {
|
||||
if (index < _dialogsProcess->info.list.size()) {
|
||||
const auto &one = _dialogsProcess->info.list[index];
|
||||
_dialogsProcess->single = std::make_unique<DialogsProcess::Single>(one);
|
||||
_dialogsProcess->startOne(one);
|
||||
@@ -631,7 +631,8 @@ void ApiWrap::loadNextMessageFile() {
|
||||
}
|
||||
const auto ready = processFileLoad(
|
||||
list[index].file(),
|
||||
[=](const QString &path) { loadMessageFileDone(path); });
|
||||
[=](const QString &path) { loadMessageFileDone(path); },
|
||||
&list[index]);
|
||||
if (!ready) {
|
||||
return;
|
||||
}
|
||||
|
Reference in New Issue
Block a user