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

Add search to channel / supergroup recent actions.

This commit is contained in:
John Preston
2017-07-05 16:11:08 +03:00
parent e1709c11da
commit 7d342b9c6d
13 changed files with 247 additions and 44 deletions

View File

@@ -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();
}