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:
@@ -142,7 +142,7 @@ struct HighlightResult {
|
||||
struct HighlightCheck {
|
||||
using Checker = std::function<boost::optional<HighlightResult>(
|
||||
const MessageParseArgs &args, const std::vector<Badge> &badges,
|
||||
const QString &senderName, const QString &originalMessage)>;
|
||||
const QString &senderName, const QString &originalMessage, bool self)>;
|
||||
Checker cb;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user