mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 06:07:06 +02:00
Don't show full albums in search results.
This commit is contained in:
parent
d4d2eef291
commit
22cedbc9cc
1 changed files with 2 additions and 1 deletions
|
@ -879,7 +879,7 @@ void RowPainter::Paint(
|
|||
}
|
||||
return nullptr;
|
||||
}();
|
||||
const auto previewOptions = [&]() -> HistoryView::ToPreviewOptions {
|
||||
auto previewOptions = [&]() -> HistoryView::ToPreviewOptions {
|
||||
if (topic) {
|
||||
return {};
|
||||
} else if (const auto searchChat = row->searchInChat()) {
|
||||
|
@ -891,6 +891,7 @@ void RowPainter::Paint(
|
|||
}
|
||||
return {};
|
||||
}();
|
||||
previewOptions.ignoreGroup = true;
|
||||
|
||||
const auto badgesState = context.displayUnreadInfo
|
||||
? entry->chatListBadgesState()
|
||||
|
|
Loading…
Add table
Reference in a new issue