mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-29 13:39:06 +00:00
Always search hashtags in current chat.
This commit is contained in:
parent
a74635ff56
commit
694ff32b01
@ -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…
x
Reference in New Issue
Block a user