Fix recalc_unread_count.
GitOrigin-RevId: 9444866155256de9b474317c3e28267777f3bf36
This commit is contained in:
parent
9e51fcdb3f
commit
f0fbc1576f
@ -8894,7 +8894,7 @@ void MessagesManager::recalc_unread_count(FolderId folder_id) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
auto &list = get_dialog_list(folder_id);
|
auto &list = get_dialog_list(folder_id);
|
||||||
if (list.need_unread_count_recalc_) {
|
if (!list.need_unread_count_recalc_) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
LOG(INFO) << "Recalculate unread counts";
|
LOG(INFO) << "Recalculate unread counts";
|
||||||
|
Loading…
Reference in New Issue
Block a user