Skip to content
Snippets Groups Projects
Commit 4565f2cf authored by Konstantinos Sideris's avatar Konstantinos Sideris
Browse files

Don't break the layout on empty text messages

parent c293b3ec
No related branches found
No related tags found
No related merge requests found
......@@ -594,9 +594,6 @@ TimelineItem::markReceived(bool isEncrypted)
void
TimelineItem::generateBody(const QString &body)
{
if (body.isEmpty())
return;
QString content("<span>%1</span>");
body_ = new TextLabel(content.arg(replaceEmoji(body)), this);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment