mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
remove the double space after username
This commit is contained in:
parent
0cdf974310
commit
4a405379d0
|
@ -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),
|
||||||
|
|
Loading…
Reference in a new issue