mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +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->isHidden()
|
||||||
&& !_main->animatingShow()
|
&& !_main->animatingShow()
|
||||||
&& !_layer
|
&& !_layer
|
||||||
|
&& !isHidden()
|
||||||
|
&& !isMinimized()
|
||||||
&& (AutoScrollInactiveChat.value()
|
&& (AutoScrollInactiveChat.value()
|
||||||
|| (isActive() && !_main->session().updates().isIdle()));
|
|| (isActive() && !_main->session().updates().isIdle()));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue