mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-30 14:17:45 +00:00
Don't show full albums in search results.
This commit is contained in:
@@ -879,7 +879,7 @@ void RowPainter::Paint(
|
|||||||
}
|
}
|
||||||
return nullptr;
|
return nullptr;
|
||||||
}();
|
}();
|
||||||
const auto previewOptions = [&]() -> HistoryView::ToPreviewOptions {
|
auto previewOptions = [&]() -> HistoryView::ToPreviewOptions {
|
||||||
if (topic) {
|
if (topic) {
|
||||||
return {};
|
return {};
|
||||||
} else if (const auto searchChat = row->searchInChat()) {
|
} else if (const auto searchChat = row->searchInChat()) {
|
||||||
@@ -891,6 +891,7 @@ void RowPainter::Paint(
|
|||||||
}
|
}
|
||||||
return {};
|
return {};
|
||||||
}();
|
}();
|
||||||
|
previewOptions.ignoreGroup = true;
|
||||||
|
|
||||||
const auto badgesState = context.displayUnreadInfo
|
const auto badgesState = context.displayUnreadInfo
|
||||||
? entry->chatListBadgesState()
|
? entry->chatListBadgesState()
|
||||||
|
Reference in New Issue
Block a user