libQuotient
A Qt library for building matrix clients
|
#include <room_event_filter.h>
Public Attributes | |
std::optional< bool > | unreadThreadNotifications {} |
std::optional< bool > | lazyLoadMembers {} |
std::optional< bool > | includeRedundantMembers {} |
QStringList | notRooms {} |
QStringList | rooms {} |
A list of room IDs to include. If this list is absent then all rooms are included. More... | |
std::optional< bool > | containsUrl {} |
Public Attributes inherited from Quotient::EventFilter | |
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 11 of file room_event_filter.h.
std::optional<bool> Quotient::RoomEventFilter::containsUrl {} |
If true
, includes only events with a url
key in their content. If false
, excludes those events. If omitted, url
key is not considered for filtering.
Definition at line 37 of file room_event_filter.h.
std::optional<bool> Quotient::RoomEventFilter::includeRedundantMembers {} |
If true
, sends all membership events for all events, even if they have already been sent to the client. Does not apply unless lazy_load_members
is true
. See Lazy-loading room members for more information. Defaults to false
.
Definition at line 26 of file room_event_filter.h.
std::optional<bool> Quotient::RoomEventFilter::lazyLoadMembers {} |
If true
, enables lazy-loading of membership events. See Lazy-loading room members for more information. Defaults to false
.
Definition at line 19 of file room_event_filter.h.
QStringList Quotient::RoomEventFilter::notRooms {} |
A list of room IDs to exclude. If this list is absent then no rooms are excluded. A matching room will be excluded even if it is listed in the ‘'rooms’` filter.
Definition at line 30 of file room_event_filter.h.
QStringList Quotient::RoomEventFilter::rooms {} |
A list of room IDs to include. If this list is absent then all rooms are included.
Definition at line 33 of file room_event_filter.h.
std::optional<bool> Quotient::RoomEventFilter::unreadThreadNotifications {} |
If true
, enables per-thread notification counts. Only applies to the /sync
endpoint. Defaults to false
.
Definition at line 14 of file room_event_filter.h.