summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swift/QtUI/SystemMessageSnippet.cpp')
-rw-r--r--Swift/QtUI/SystemMessageSnippet.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Swift/QtUI/SystemMessageSnippet.cpp b/Swift/QtUI/SystemMessageSnippet.cpp
index db57b1f..cf70c2e 100644
--- a/Swift/QtUI/SystemMessageSnippet.cpp
+++ b/Swift/QtUI/SystemMessageSnippet.cpp
@@ -13,9 +13,9 @@ namespace Swift {
SystemMessageSnippet::SystemMessageSnippet(const QString& message, const QDateTime& time, bool appendToPrevious, QtChatTheme* theme) : ChatSnippet(appendToPrevious) {
content_ = theme->getStatus();
- content_.replace("%message%", escape(message));
+ content_.replace("%message%", "<span class='swift_message'>" + escape(message) + "</span>");
content_.replace("%shortTime%", escape(time.toString("h:mm")));
- content_.replace("%time%", escape(time.toString("h:mm")));
+ content_.replace("%time%", "<span class='swift_time'>" + escape(time.toString("h:mm")) + "</span>");
}
SystemMessageSnippet::~SystemMessageSnippet() {