Fix warning.
GitOrigin-RevId: 7fbd0b38862a906e0b3fe0b2acee7eb34175434a
This commit is contained in:
parent
a95370686a
commit
ef5c2ea722
@ -20898,7 +20898,7 @@ void MessagesManager::on_update_pinned_dialogs() {
|
|||||||
if (ordered_dialogs_.size() >= needed_dialogs) {
|
if (ordered_dialogs_.size() >= needed_dialogs) {
|
||||||
query_promise.set_value(Unit());
|
query_promise.set_value(Unit());
|
||||||
} else {
|
} else {
|
||||||
load_dialog_list(needed_dialogs - ordered_dialogs_.size(), true, std::move(query_promise));
|
load_dialog_list(narrow_cast<int32>(needed_dialogs - ordered_dialogs_.size()), true, std::move(query_promise));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user