mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 14:17:12 +02:00
Mark as read only in visible non minimized window.
I hope this fixes #26050.
This commit is contained in:
parent
84c75f4a74
commit
68eb99bde0
1 changed files with 2 additions and 0 deletions
|
@ -544,6 +544,8 @@ bool MainWindow::markingAsRead() const {
|
|||
&& !_main->isHidden()
|
||||
&& !_main->animatingShow()
|
||||
&& !_layer
|
||||
&& !isHidden()
|
||||
&& !isMinimized()
|
||||
&& (AutoScrollInactiveChat.value()
|
||||
|| (isActive() && !_main->session().updates().isIdle()));
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue