Added functionality of option of highlightsound on whisper (#692)

Fixes #640
This commit is contained in:
apa420
2018-08-29 00:30:11 +02:00
committed by pajlada
parent 113cfd69b0
commit c5d5825b5a
3 changed files with 10 additions and 0 deletions
@@ -578,6 +578,12 @@ void TwitchMessageBuilder::parseHighlights(bool isPastMsg)
2500);
}
}
if (this->args.isReceivedWhisper &&
getSettings()->highlightSoundOnWhisper) {
if (!hasFocus || getSettings()->highlightAlwaysPlaySound) {
player->play();
}
}
}
}