mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
I use startWith again
This commit is contained in:
parent
2524bb8af6
commit
9754d1c350
1 changed files with 1 additions and 1 deletions
|
@ -231,7 +231,7 @@ MessagePtr TwitchMessageBuilder::build()
|
||||||
QString linkString = this->matchLink(string);
|
QString linkString = this->matchLink(string);
|
||||||
auto fontStyle = FontStyle::ChatMedium;
|
auto fontStyle = FontStyle::ChatMedium;
|
||||||
|
|
||||||
if (string[0] == '@' && app->settings->usernameBold) {
|
if (string.startsWith('@') && app->settings->usernameBold) {
|
||||||
fontStyle = FontStyle::ChatMediumBold;
|
fontStyle = FontStyle::ChatMediumBold;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue