Fix recalc_unread_count.

GitOrigin-RevId: 9444866155256de9b474317c3e28267777f3bf36
This commit is contained in:
levlam 2019-09-16 03:37:29 +03:00
parent 9e51fcdb3f
commit f0fbc1576f

View File

@ -8894,7 +8894,7 @@ void MessagesManager::recalc_unread_count(FolderId folder_id) {
}
auto &list = get_dialog_list(folder_id);
if (list.need_unread_count_recalc_) {
if (!list.need_unread_count_recalc_) {
return;
}
LOG(INFO) << "Recalculate unread counts";