diff --git a/Telegram/SourceFiles/data/data_web_page.cpp b/Telegram/SourceFiles/data/data_web_page.cpp index 932e9e2341..e8eef89784 100644 --- a/Telegram/SourceFiles/data/data_web_page.cpp +++ b/Telegram/SourceFiles/data/data_web_page.cpp @@ -254,7 +254,13 @@ bool WebPageData::applyChanges( } return QString(); }(); - if (newDocument || !newCollage.items.empty() || !newPhoto) { + const auto hasSiteName = !resultSiteName.isEmpty() ? 1 : 0; + const auto hasTitle = !resultTitle.isEmpty() ? 1 : 0; + const auto hasDescription = !newDescription.text.isEmpty() ? 1 : 0; + if (newDocument + || !newCollage.items.empty() + || !newPhoto + || (hasSiteName + hasTitle + hasDescription < 2)) { newHasLargeMedia = false; }