From 4a405379d0df90352d6f8dd096c7cf3a58331d31 Mon Sep 17 00:00:00 2001 From: Date: Thu, 28 Dec 2017 17:56:00 +0100 Subject: [PATCH] remove the double space after username --- src/twitch/twitchmessagebuilder.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/twitch/twitchmessagebuilder.cpp b/src/twitch/twitchmessagebuilder.cpp index 30b11e61..ab89cc92 100644 --- a/src/twitch/twitchmessagebuilder.cpp +++ b/src/twitch/twitchmessagebuilder.cpp @@ -50,7 +50,7 @@ SharedMessage TwitchMessageBuilder::parse() // Appends the correct timestamp if the message is a past message bool isPastMsg = this->tags.contains("historical"); - if(isPastMsg) { + if (isPastMsg) { // This may be architecture dependent(datatype) qint64 ts = this->tags.value("tmi-sent-ts").toLongLong(); QDateTime time = QDateTime::fromMSecsSinceEpoch(ts); @@ -367,7 +367,7 @@ void TwitchMessageBuilder::appendUsername() } if (!ircMessage->isAction()) { - usernameString += ": "; + usernameString += ":"; } this->appendWord(Word(usernameString, Word::Username, MessageColor(this->usernameColor),