|
Chatterino
|
MessagePredicate checking for the badges of a message. More...
#include <SubtierPredicate.hpp>
Public Member Functions | |
| SubtierPredicate (const QStringList &subtiers) | |
| Create an SubtierPredicate with a list of subtiers to search for. More... | |
| bool | appliesTo (const Message &message) override |
| Checks whether the message contains any of the subtiers passed in the constructor. More... | |
MessagePredicate checking for the badges of a message.
This predicate will only allow messages that are sent by a subscribed user who has a specified subtier (i.e. 1,2,3..)
| chatterino::SubtierPredicate::SubtierPredicate | ( | const QStringList & | subtiers | ) |
Create an SubtierPredicate with a list of subtiers to search for.
| subtiers | a list of subtiers that a message should contain |
|
overridevirtual |
Checks whether the message contains any of the subtiers passed in the constructor.
| message | the message to check |
Implements chatterino::MessagePredicate.
1.8.13