remove the double space after username

This commit is contained in:
2017-12-28 17:56:00 +01:00
parent 0cdf974310
commit 4a405379d0

View file

@ -50,7 +50,7 @@ SharedMessage TwitchMessageBuilder::parse()
// Appends the correct timestamp if the message is a past message // Appends the correct timestamp if the message is a past message
bool isPastMsg = this->tags.contains("historical"); bool isPastMsg = this->tags.contains("historical");
if(isPastMsg) { if (isPastMsg) {
// This may be architecture dependent(datatype) // This may be architecture dependent(datatype)
qint64 ts = this->tags.value("tmi-sent-ts").toLongLong(); qint64 ts = this->tags.value("tmi-sent-ts").toLongLong();
QDateTime time = QDateTime::fromMSecsSinceEpoch(ts); QDateTime time = QDateTime::fromMSecsSinceEpoch(ts);
@ -367,7 +367,7 @@ void TwitchMessageBuilder::appendUsername()
} }
if (!ircMessage->isAction()) { if (!ircMessage->isAction()) {
usernameString += ": "; usernameString += ":";
} }
this->appendWord(Word(usernameString, Word::Username, MessageColor(this->usernameColor), this->appendWord(Word(usernameString, Word::Username, MessageColor(this->usernameColor),