diff --git a/src/providers/twitch/TwitchMessageBuilder.cpp b/src/providers/twitch/TwitchMessageBuilder.cpp index 5b24a7905..aa6ab58f8 100644 --- a/src/providers/twitch/TwitchMessageBuilder.cpp +++ b/src/providers/twitch/TwitchMessageBuilder.cpp @@ -231,7 +231,7 @@ MessagePtr TwitchMessageBuilder::build() QString linkString = this->matchLink(string); auto fontStyle = FontStyle::ChatMedium; - if (string[0] == '@' && app->settings->usernameBold) { + if (string.startsWith('@') && app->settings->usernameBold) { fontStyle = FontStyle::ChatMediumBold; }