Fix highlighted whisper crash (#1756) (#1757)

This commit is contained in:
Daniel
2020-06-27 07:20:21 -04:00
committed by GitHub
parent 205d658f80
commit de2108b8c5
@@ -416,6 +416,8 @@ MessagePtr TwitchMessageBuilder::build()
if (this->args.isReceivedWhisper && getSettings()->highlightInlineWhispers)
{
this->message().flags.set(MessageFlag::HighlightedWhisper, true);
this->message().highlightColor =
ColorProvider::instance().color(ColorType::Whisper);
}
return this->release();