Fix macOS action

This commit is contained in:
Ilya Fedin
2025-08-25 06:18:38 +00:00
committed by John Preston
parent 48525de714
commit 0cf3325655
2 changed files with 6 additions and 5 deletions

View File

@@ -297,9 +297,9 @@ void MessageView::prepare(
? 0
: minFrom - kLeftShift;
textToCache = TextWithEntities(
minFrom > 0 ? kQEllipsis : QString())
.append(Text::Mid(std::move(textToCache), minFrom));
textToCache = (TextWithEntities{
minFrom > 0 ? kQEllipsis : QString()
}).append(Text::Mid(std::move(textToCache), minFrom));
}
}
_hasPlainLinkAtBegin = !textToCache.entities.empty()