Fix textColor leaking after links
This commit is contained in:
@@ -94,13 +94,14 @@ SharedMessage TwitchMessageBuilder::parse()
|
|||||||
auto currentTwitchEmote = twitchEmotes.begin();
|
auto currentTwitchEmote = twitchEmotes.begin();
|
||||||
|
|
||||||
// words
|
// words
|
||||||
QColor textColor = ircMessage->isAction() ? this->usernameColor : this->colorScheme.Text;
|
|
||||||
|
|
||||||
QStringList splits = this->originalMessage.split(' ');
|
QStringList splits = this->originalMessage.split(' ');
|
||||||
|
|
||||||
long int i = 0;
|
long int i = 0;
|
||||||
|
|
||||||
for (QString split : splits) {
|
for (QString split : splits) {
|
||||||
|
QColor textColor = ircMessage->isAction() ? this->usernameColor : this->colorScheme.Text;
|
||||||
|
|
||||||
// twitch emote
|
// twitch emote
|
||||||
if (currentTwitchEmote != twitchEmotes.end() && currentTwitchEmote->first == i) {
|
if (currentTwitchEmote != twitchEmotes.end() && currentTwitchEmote->first == i) {
|
||||||
this->appendWord(
|
this->appendWord(
|
||||||
|
|||||||
Reference in New Issue
Block a user