mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
Fix textColor leaking after links
This commit is contained in:
parent
85b9703f9c
commit
f455ef9f24
1 changed files with 2 additions and 1 deletions
|
@ -94,13 +94,14 @@ SharedMessage TwitchMessageBuilder::parse()
|
|||
auto currentTwitchEmote = twitchEmotes.begin();
|
||||
|
||||
// words
|
||||
QColor textColor = ircMessage->isAction() ? this->usernameColor : this->colorScheme.Text;
|
||||
|
||||
QStringList splits = this->originalMessage.split(' ');
|
||||
|
||||
long int i = 0;
|
||||
|
||||
for (QString split : splits) {
|
||||
QColor textColor = ircMessage->isAction() ? this->usernameColor : this->colorScheme.Text;
|
||||
|
||||
// twitch emote
|
||||
if (currentTwitchEmote != twitchEmotes.end() && currentTwitchEmote->first == i) {
|
||||
this->appendWord(
|
||||
|
|
Loading…
Reference in a new issue