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

Leave chats search query in support mode.

This commit is contained in:
John Preston
2018-11-20 16:40:54 +04:00
parent 5c718c7c9a
commit 7ca821f38c
3 changed files with 4 additions and 4 deletions

View File

@@ -2521,8 +2521,8 @@ bool DialogsInner::chooseRow() {
HistoryFeed::Memento(feed, chosen.message),
Window::SectionShow::Way::ClearStack);
}
if (openSearchResult) {
emit searchResultChosen();
if (openSearchResult && !Auth().supportMode()) {
emit clearSearchQuery();
}
updateSelectedRow();
_selected = nullptr;