Added functionality of option of highlightsound on whisper (#692)
Fixes #640
This commit is contained in:
@@ -578,6 +578,12 @@ void TwitchMessageBuilder::parseHighlights(bool isPastMsg)
|
||||
2500);
|
||||
}
|
||||
}
|
||||
if (this->args.isReceivedWhisper &&
|
||||
getSettings()->highlightSoundOnWhisper) {
|
||||
if (!hasFocus || getSettings()->highlightAlwaysPlaySound) {
|
||||
player->play();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user