libQuotient
A Qt library for building matrix clients
|
#include <event_filter.h>
Public Attributes | |
std::optional< int > | limit {} |
QStringList | notSenders {} |
QStringList | notTypes {} |
QStringList | senders {} |
A list of senders IDs to include. If this list is absent then all senders are included. More... | |
QStringList | types {} |
Definition at line 9 of file event_filter.h.
std::optional<int> Quotient::EventFilter::limit {} |
The maximum number of events to return, must be an integer greater than 0.
Servers should apply a default value, and impose a maximum value to avoid resource exhaustion.
Definition at line 14 of file event_filter.h.
QStringList Quotient::EventFilter::notSenders {} |
A list of sender IDs to exclude. If this list is absent then no senders are excluded. A matching sender will be excluded even if it is listed in the ‘'senders’` filter.
Definition at line 18 of file event_filter.h.
QStringList Quotient::EventFilter::notTypes {} |
A list of event types to exclude. If this list is absent then no event types are excluded. A matching type will be excluded even if it is listed in the ‘'types’‘ filter. A ’*' can be used as a wildcard to match any sequence of characters.
Definition at line 23 of file event_filter.h.
QStringList Quotient::EventFilter::senders {} |
A list of senders IDs to include. If this list is absent then all senders are included.
Definition at line 26 of file event_filter.h.
QStringList Quotient::EventFilter::types {} |
A list of event types to include. If this list is absent then all event types are included. A ‘’*'` can be used as a wildcard to match any sequence of characters.
Definition at line 30 of file event_filter.h.