From 4565f2cf00d92dc8160f3ff3490ea99f38f6b334 Mon Sep 17 00:00:00 2001 From: Konstantinos Sideris Date: Wed, 12 Sep 2018 13:12:24 +0300 Subject: [PATCH] Don't break the layout on empty text messages --- src/timeline/TimelineItem.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/timeline/TimelineItem.cpp b/src/timeline/TimelineItem.cpp index 8e0401a8..5a339541 100644 --- a/src/timeline/TimelineItem.cpp +++ b/src/timeline/TimelineItem.cpp @@ -594,9 +594,6 @@ TimelineItem::markReceived(bool isEncrypted) void TimelineItem::generateBody(const QString &body) { - if (body.isEmpty()) - return; - QString content("%1"); body_ = new TextLabel(content.arg(replaceEmoji(body)), this);