Make netsplits pretty on clientside
[quassel.git] / src / uisupport / qssparser.cpp
index 48a1a06..ceac60b 100644 (file)
@@ -226,6 +226,10 @@ quint64 QssParser::parseFormatType(const QString &decl) {
       fmtType |= UiStyle::DayChangeMsg;
     else if(msgType == "topic")
       fmtType |= UiStyle::TopicMsg;
+    else if(msgType == "netsplitJoin")
+      fmtType |= UiStyle::NetsplitJoinMsg;
+    else if(msgType == "netsplitQuit")
+      fmtType |= UiStyle::NetsplitQuitMsg;
     else {
       qWarning() << Q_FUNC_INFO << tr("Invalid message type in %1").arg(decl);
     }