mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-07 23:53:58 +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(
|
void HistoryInner::elementSearchInList(
|
||||||
const QString &query,
|
const QString &query,
|
||||||
const FullMsgId &context) {
|
const FullMsgId &context) {
|
||||||
const auto inChat = _history->peer->isUser()
|
const auto inChat = Dialogs::Key(_history);
|
||||||
? Dialogs::Key()
|
|
||||||
: Dialogs::Key(_history);
|
|
||||||
_controller->searchMessages(query, inChat);
|
_controller->searchMessages(query, inChat);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue