mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
Add doHighlight
This commit is contained in:
parent
971326212c
commit
d841059417
1 changed files with 2 additions and 0 deletions
|
@ -482,6 +482,8 @@ void TwitchMessageBuilder::parseHighlights()
|
||||||
for (const UserHighlight &userHighlight : userHighlights) {
|
for (const UserHighlight &userHighlight : userHighlights) {
|
||||||
if (userHighlight.isMatch(this->ircMessage->nick())) {
|
if (userHighlight.isMatch(this->ircMessage->nick())) {
|
||||||
Log("Highlight because user {} sent a message", this->ircMessage->nick());
|
Log("Highlight because user {} sent a message", this->ircMessage->nick());
|
||||||
|
doHighlight = true;
|
||||||
|
|
||||||
if (userHighlight.getAlert()) {
|
if (userHighlight.getAlert()) {
|
||||||
doAlert = true;
|
doAlert = true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue