2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 14:45:14 +00:00

Mark as read only in visible non minimized window.

I hope this fixes #26050.
This commit is contained in:
John Preston
2023-03-17 16:48:39 +04:00
parent 84c75f4a74
commit 68eb99bde0

View File

@@ -544,6 +544,8 @@ bool MainWindow::markingAsRead() const {
&& !_main->isHidden()
&& !_main->animatingShow()
&& !_layer
&& !isHidden()
&& !isMinimized()
&& (AutoScrollInactiveChat.value()
|| (isActive() && !_main->session().updates().isIdle()));
}