mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-07 15:43:55 +02:00
Always search hashtags in current chat.
This commit is contained in:
parent
a74635ff56
commit
694ff32b01
1 changed files with 1 additions and 3 deletions
|
@ -3824,9 +3824,7 @@ void HistoryInner::elementSendBotCommand(
|
|||
void HistoryInner::elementSearchInList(
|
||||
const QString &query,
|
||||
const FullMsgId &context) {
|
||||
const auto inChat = _history->peer->isUser()
|
||||
? Dialogs::Key()
|
||||
: Dialogs::Key(_history);
|
||||
const auto inChat = Dialogs::Key(_history);
|
||||
_controller->searchMessages(query, inChat);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue