mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 14:45:14 +00:00
Fix build on Windows.
This commit is contained in:
@@ -18,11 +18,10 @@ bool MessagesSearchMerged::RequestCompare::operator()(
|
||||
}
|
||||
|
||||
MessagesSearchMerged::MessagesSearchMerged(not_null<History*> history)
|
||||
: _apiSearch(history)
|
||||
, _migratedSearch(history->migrateFrom()
|
||||
? std::make_optional<MessagesSearch>(history->migrateFrom())
|
||||
: std::nullopt) {
|
||||
|
||||
: _apiSearch(history) {
|
||||
if (const auto migrated = history->migrateFrom()) {
|
||||
_migratedSearch.emplace(migrated);
|
||||
}
|
||||
const auto checkWaitingForTotal = [=] {
|
||||
if (_waitingForTotal) {
|
||||
if (_concatedFound.total >= 0 && _migratedFirstFound.total >= 0) {
|
||||
|
Reference in New Issue
Block a user