2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-05 00:55:12 +00:00

Allow filtering by tag on click in sublists.

This commit is contained in:
John Preston
2024-01-30 19:01:10 +04:00
parent db7c16f82b
commit 0945e04f6b
27 changed files with 140 additions and 28 deletions

View File

@@ -985,7 +985,7 @@ void Widget::setupShortcuts() {
if (_openedForum && !controller()->activeChatCurrent()) {
request->check(Command::Search) && request->handle([=] {
const auto history = _openedForum->history();
controller()->content()->searchInChat(history);
controller()->searchInChat(history);
return true;
});
}
@@ -2654,7 +2654,7 @@ bool Widget::setSearchInChat(
}
if (searchInPeerUpdated) {
_searchInChat = chat;
controller()->searchInChat = _searchInChat;
controller()->setSearchInChat(_searchInChat);
updateJumpToDateVisibility();
updateStoriesVisibility();
}