diff options
Diffstat (limited to 'Swift/QtUI/SystemMessageSnippet.cpp')
-rw-r--r-- | Swift/QtUI/SystemMessageSnippet.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Swift/QtUI/SystemMessageSnippet.cpp b/Swift/QtUI/SystemMessageSnippet.cpp index 13919b2..2e0aec4 100644 --- a/Swift/QtUI/SystemMessageSnippet.cpp +++ b/Swift/QtUI/SystemMessageSnippet.cpp @@ -11,6 +11,9 @@ namespace Swift { SystemMessageSnippet::SystemMessageSnippet(const QString& message, const QDateTime& time, bool appendToPrevious, QtChatTheme* theme) : ChatSnippet(appendToPrevious) { + if (appendToPrevious) { + setContinuationFallbackSnippet(boost::shared_ptr<ChatSnippet>(new SystemMessageSnippet(message, time, false, theme))); + } content_ = theme->getStatus(); content_.replace("%message%", "<span class='swift_message'>" + escape(message) + "</span>"); |