Mark as read only in inited history view.

This commit is contained in:
John Preston 2020-02-20 16:43:51 +04:00
parent a3f19c073b
commit 1980c1004e
1 changed files with 1 additions and 0 deletions

View File

@ -2465,6 +2465,7 @@ bool HistoryWidget::doWeReadServerHistory() const {
bool HistoryWidget::doWeReadMentions() const { bool HistoryWidget::doWeReadMentions() const {
return _history return _history
&& _list && _list
&& _historyInited
&& !_firstLoadRequest && !_firstLoadRequest
&& !_a_show.animating() && !_a_show.animating()
&& App::wnd()->doWeMarkAsRead(); && App::wnd()->doWeMarkAsRead();