Do not warn on wrong unread counter in nonjoined chats.
GitOrigin-RevId: f81f747679a9beab19defeb6ab36d9c5ed0ca6ea
This commit is contained in:
parent
f8abeef8ad
commit
35bc27c028
@ -9436,8 +9436,10 @@ int32 MessagesManager::calc_new_unread_count_from_the_end(Dialog *d, MessageId m
|
||||
}
|
||||
|
||||
// hint_unread_count is definitely wrong, ignore it
|
||||
LOG(ERROR) << "Receive hint_unread_count = " << hint_unread_count << ", but found " << unread_count
|
||||
<< " unread messages in " << d->dialog_id;
|
||||
if (d->order != 0) {
|
||||
LOG(ERROR) << "Receive hint_unread_count = " << hint_unread_count << ", but found " << unread_count
|
||||
<< " unread messages in " << d->dialog_id;
|
||||
}
|
||||
}
|
||||
|
||||
if (!is_count_exact) {
|
||||
|
Loading…
Reference in New Issue
Block a user