Drop dialog unread counter when viewMessages is called.
GitOrigin-RevId: 0f6f4cfaaf6575383d0d0dcb4c5d3f71ca5c44bb
This commit is contained in:
parent
3a2ef50f91
commit
4c404f3a68
@ -13306,6 +13306,9 @@ Status MessagesManager::view_messages(DialogId dialog_id, const vector<MessageId
|
||||
}
|
||||
}
|
||||
}
|
||||
if (need_read && d->is_marked_as_unread) {
|
||||
set_dialog_is_marked_as_unread(d, false);
|
||||
}
|
||||
|
||||
return Status::OK();
|
||||
}
|
||||
|
Reference in New Issue
Block a user