libQuotient
A Qt library for building matrix clients
Quotient::RoomEventFilter Struct Reference

#include <room_event_filter.h>

Inheritance diagram for Quotient::RoomEventFilter:
Collaboration diagram for Quotient::RoomEventFilter:

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 {}
 

Detailed Description

Definition at line 11 of file room_event_filter.h.

Member Data Documentation

◆ containsUrl

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.

◆ includeRedundantMembers

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.

◆ lazyLoadMembers

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.

◆ notRooms

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.

◆ rooms

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.

◆ unreadThreadNotifications

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.


The documentation for this struct was generated from the following file: