Fix build with GCC.

This commit is contained in:
John Preston
2022-11-21 22:02:51 +00:00
parent 937d243a4c
commit 79a2d85287
5 changed files with 1 additions and 12 deletions
@@ -173,7 +173,6 @@ void MessageView::prepare(
st::dialogsTextStyle,
std::move(sender),
DialogTextOptions());
const auto topicTill = preview.imagesInTextPosition;
preview.text = Text::Mid(preview.text, senderTill);
} else {
_senderCache = { st::dialogsTextWidthMin };