diff --git a/Telegram/SourceFiles/history/view/history_view_message.cpp b/Telegram/SourceFiles/history/view/history_view_message.cpp index 1a1e8f729..e3e429460 100644 --- a/Telegram/SourceFiles/history/view/history_view_message.cpp +++ b/Telegram/SourceFiles/history/view/history_view_message.cpp @@ -2401,7 +2401,11 @@ int Message::resizeContentGetHeight(int newWidth) { const auto bubble = drawBubble(); // This code duplicates countGeometry() but also resizes media. - auto contentWidth = newWidth - (st::msgMargin.left() + st::msgMargin.right()); + const auto commentsRoot = (context() == Context::Replies) + && data()->isDiscussionPost(); + auto contentWidth = newWidth + - st::msgMargin.left() + - (commentsRoot ? st::msgMargin.left() : st::msgMargin.right()); if (hasFromPhoto()) { if (const auto size = rightActionSize()) { contentWidth -= size->width() + (st::msgPhotoSkip - st::historyFastShareSize);