Added setting and functionality to highlight inline whispers
Inline whispers will be displayed with highlighted background color. New Flag needed to differentiate between normal whisper (highlighted) and whisper with mention.
This commit is contained in:
@@ -184,6 +184,12 @@ MessagePtr TwitchMessageBuilder::build()
|
||||
// highlights
|
||||
this->parseHighlights(isPastMsg);
|
||||
|
||||
// highlighting incoming whispers if requested per setting
|
||||
if (this->args.isReceivedWhisper && getSettings()->highlightInlineWhispers)
|
||||
{
|
||||
this->message().flags.set(MessageFlag::HighlightedWhisper, true);
|
||||
}
|
||||
|
||||
// QString bits;
|
||||
auto iterator = this->tags.find("bits");
|
||||
if (iterator != this->tags.end())
|
||||
|
||||
Reference in New Issue
Block a user