fix: userpic suggestion when using wide messages

This commit is contained in:
AlexeyZavar
2026-04-25 04:15:37 +03:00
parent ca85c9e803
commit cc56552cb0
2 changed files with 2 additions and 1 deletions
@@ -1031,7 +1031,7 @@ std::unique_ptr<HistoryView::Media> MediaPhoto::createView(
message,
_chat,
_photo,
st::msgServicePhotoWidth));
st::msgServiceUserpicSuggestionPhotoWidth));
}
return std::make_unique<HistoryView::Photo>(
message,
+1
View File
@@ -18,6 +18,7 @@ msgNameStyle: semiboldTextStyle;
msgServiceFont: semiboldFont;
msgServiceNameFont: semiboldFont;
msgServicePhotoWidth: 100px;
msgServiceUserpicSuggestionPhotoWidth: 100px;
msgDateFont: font(13px);
msgMinWidth: 160px;
msgPhotoSize: 33px;