mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-30 22:16:14 +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->animatingShow()
|
||||
&& !_layer
|
||||
&& !isHidden()
|
||||
&& !isMinimized()
|
||||
&& (AutoScrollInactiveChat.value()
|
||||
|| (isActive() && !_main->session().updates().isIdle()));
|
||||
}
|
||||
|
Reference in New Issue
Block a user