mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-01 15:05:56 +00:00
Display and follow unread mentions in history.
This commit is contained in:
@@ -516,6 +516,11 @@ bool MainWindow::doWeReadServerHistory() {
|
||||
return isActive() && _main && !Ui::isLayerShown() && _main->doWeReadServerHistory();
|
||||
}
|
||||
|
||||
bool MainWindow::doWeReadMentions() {
|
||||
updateIsActive(0);
|
||||
return isActive() && _main && !Ui::isLayerShown() && _main->doWeReadMentions();
|
||||
}
|
||||
|
||||
void MainWindow::checkHistoryActivation() {
|
||||
if (_main && doWeReadServerHistory()) {
|
||||
_main->markActiveHistoryAsRead();
|
||||
|
Reference in New Issue
Block a user