mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-01 07:05:13 +00:00
Mark as read only in visible non minimized window.
I hope this fixes #26050.
This commit is contained in:
@@ -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()));
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user