2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

Use larger unique gift preview.

This commit is contained in:
John Preston
2025-02-03 12:35:24 +04:00
parent 03aa05e4d2
commit 4cab699b04
2 changed files with 7 additions and 3 deletions

View File

@@ -382,7 +382,8 @@ bool WebPageData::computeDefaultSmallMedia() const {
&& description.empty()
&& author.isEmpty()) {
return false;
} else if (!document
} else if (!uniqueGift
&& !document
&& photo
&& type != WebPageType::Photo
&& type != WebPageType::Document