Stop moderation elements from appearing on other moderators messages

Fix #496
This commit is contained in:
Rasmus Karlsson
2018-06-22 21:19:52 +00:00
parent 2746f88e49
commit dd0d6a0f88
8 changed files with 37 additions and 3 deletions
@@ -54,6 +54,10 @@ void IrcMessageHandler::addMessage(Communi::IrcMessage *_message, const QString
args.trimSubscriberUsername = true;
}
if (chan->isBroadcaster()) {
args.isStaffOrBroadcaster = true;
}
TwitchMessageBuilder builder(chan.get(), _message, args, content, isAction);
if (isSub || !builder.isIgnored()) {