mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Support tags search in sublists.
This commit is contained in:
@@ -1930,7 +1930,9 @@ void Widget::searchMessages(QString query, Key inChat) {
|
||||
|
||||
auto tags = Data::SearchTagsFromQuery(query);
|
||||
if (!tags.empty()) {
|
||||
inChat = session().data().history(session().user());
|
||||
if (!inChat.sublist()) {
|
||||
inChat = session().data().history(session().user());
|
||||
}
|
||||
query = QString();
|
||||
}
|
||||
const auto inChatChanged = [&] {
|
||||
|
Reference in New Issue
Block a user