From ee0b1154841075445aa8996372eaae6eff5e9948 Mon Sep 17 00:00:00 2001 From: apa420 Date: Fri, 25 Jan 2019 14:19:09 +0100 Subject: [PATCH] If bold usernames was ticked it wouldn't show who the automod caught --- src/messages/MessageBuilder.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/messages/MessageBuilder.cpp b/src/messages/MessageBuilder.cpp index d21601766..2bc8e70dd 100644 --- a/src/messages/MessageBuilder.cpp +++ b/src/messages/MessageBuilder.cpp @@ -35,6 +35,9 @@ std::pair makeAutomodMessage( Image::fromPixmap(getApp()->resources->twitch.automod), MessageElementFlag::BadgeChannelAuthority) ->setTooltip("AutoMod"); + builder.emplace("AutoMod:", MessageElementFlag::BoldUsername, + MessageColor(QColor("blue")), + FontStyle::ChatMediumBold); builder.emplace( "AutoMod:", MessageElementFlag::NonBoldUsername, MessageColor(QColor("blue"))); @@ -63,6 +66,11 @@ std::pair makeAutomodMessage( builder.emplace(); builder.message().flags.set(MessageFlag::PubSub); + builder + .emplace( + action.target.name + ":", MessageElementFlag::BoldUsername, + MessageColor(QColor("red")), FontStyle::ChatMediumBold) + ->setLink({Link::UserInfo, action.target.name}); builder .emplace(action.target.name + ":", MessageElementFlag::NonBoldUsername,