mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Add search to channel / supergroup recent actions.
This commit is contained in:
@@ -896,6 +896,9 @@ void MainWidget::notify_historyMuteUpdated(History *history) {
|
||||
|
||||
bool MainWidget::cmd_search() {
|
||||
if (Ui::isLayerShown() || Ui::isMediaViewShown()) return false;
|
||||
if (_wideSection) {
|
||||
return _wideSection->cmd_search();
|
||||
}
|
||||
return _history->cmd_search();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user