mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02:00
Always search hashtags in current chat.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user