Add is:reply search predicate (#4119)

Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
This commit is contained in:
Felanbird 2022-11-06 06:37:14 -05:00 committed by GitHub
parent 1e6e18f53a
commit ac7baf4073
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 0 deletions

View file

@ -21,6 +21,7 @@
- Minor: Added `is:elevated-msg` search option. (#4018)
- Minor: Added `is:cheer-msg` search option. (#4069)
- Minor: Added `is:redemption` search option. (#4118)
- Minor: Added `is:reply` search option. (#4119)
- Minor: Added `subtier:` search option (e.g. `subtier:3` to find Tier 3 subs). (#4013)
- Minor: Added `badge:` search option (e.g. `badge:mod` to users with the moderator badge). (#4013)
- Minor: Added AutoMod message flag filter. (#3938)

View file

@ -47,6 +47,10 @@ MessageFlagsPredicate::MessageFlagsPredicate(const QString &flags)
this->flags_.set(MessageFlag::RedeemedChannelPointReward);
this->flags_.set(MessageFlag::RedeemedHighlight);
}
else if (flag == "reply")
{
this->flags_.set(MessageFlag::ReplyMessage);
}
}
}