diff options
author | Konstantinos Sideris <sideris.konstantin@gmail.com> | 2018-09-12 13:12:24 +0300 |
---|---|---|
committer | Konstantinos Sideris <sideris.konstantin@gmail.com> | 2018-09-12 13:12:24 +0300 |
commit | 4565f2cf00d92dc8160f3ff3490ea99f38f6b334 (patch) | |
tree | 6105158dacc6467e714b876f8575b0c5bba6d199 | |
parent | Use cmark.lib in appveyor (diff) | |
download | nheko-4565f2cf00d92dc8160f3ff3490ea99f38f6b334.tar.xz |
Don't break the layout on empty text messages
-rw-r--r-- | src/timeline/TimelineItem.cpp | 3 |
1 files changed, 0 insertions, 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("<span>%1</span>"); body_ = new TextLabel(content.arg(replaceEmoji(body)), this); |