Allow non-message phrases to be highlighted by self (#3835)
* All non-phrase highlights can now trigger on messages from self New state: Allows self highlights: Subscription, Whisper, User, Badge Does not allow self highlights: Message * Add changelog entry * fix PR number in changelog
This commit is contained in:
@@ -147,13 +147,6 @@ void SharedMessageBuilder::parseHighlights()
|
||||
return;
|
||||
}
|
||||
|
||||
auto currentUser = getIApp()->getAccounts()->twitch.getCurrent();
|
||||
if (this->ircMessage->nick() == currentUser->getUserName())
|
||||
{
|
||||
// Do nothing. We ignore any potential highlights from the logged in user
|
||||
return;
|
||||
}
|
||||
|
||||
auto badges = SharedMessageBuilder::parseBadgeTag(this->tags);
|
||||
auto [highlighted, highlightResult] = getIApp()->getHighlights()->check(
|
||||
this->args, badges, this->ircMessage->nick(), this->originalMessage_);
|
||||
|
||||
Reference in New Issue
Block a user