mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
Add is:redemption
search predicate (#4118)
This commit is contained in:
parent
6f88c1cc8a
commit
1e6e18f53a
|
@ -20,6 +20,7 @@
|
|||
- Minor: Added `is:first-msg` search option. (#3700)
|
||||
- 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 `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)
|
||||
|
|
|
@ -42,6 +42,11 @@ MessageFlagsPredicate::MessageFlagsPredicate(const QString &flags)
|
|||
{
|
||||
this->flags_.set(MessageFlag::CheerMessage);
|
||||
}
|
||||
else if (flag == "redemption")
|
||||
{
|
||||
this->flags_.set(MessageFlag::RedeemedChannelPointReward);
|
||||
this->flags_.set(MessageFlag::RedeemedHighlight);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue