diff --git a/src/providers/twitch/TwitchMessageBuilder.cpp b/src/providers/twitch/TwitchMessageBuilder.cpp index cb2f44ad..7ae478c1 100644 --- a/src/providers/twitch/TwitchMessageBuilder.cpp +++ b/src/providers/twitch/TwitchMessageBuilder.cpp @@ -229,11 +229,10 @@ MessagePtr TwitchMessageBuilder::build() // Actually just text QString linkString = this->matchLink(string); + auto Boldness = FontStyle::ChatMedium; if (string[0] == '@' && app->settings->usernameBold) { - this->emplace(string, MessageElement::Text, textColor, - FontStyle::ChatMediumBold); - string = ""; + Boldness = FontStyle::ChatMediumBold; } Link link; @@ -261,7 +260,8 @@ MessagePtr TwitchMessageBuilder::build() textColor = MessageColor(MessageColor::Link); } - this->emplace(string, MessageElement::Text, textColor) // + this->emplace(string, MessageElement::Text, textColor, + Boldness) // ->setLink(link); } else { // is emoji this->emplace(emoteData, EmoteElement::EmojiAll);