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

Filters to be applied to room data. More...

#include <sync_filter.h>

Collaboration diagram for Quotient::RoomFilter:

Public Attributes

QStringList notRooms {}
 
QStringList rooms {}
 
RoomEventFilter ephemeral {}
 
std::optional< bool > includeLeave {}
 Include rooms that the user has left in the sync, default false. More...
 
RoomEventFilter state {}
 The state events to include for rooms. More...
 
RoomEventFilter timeline {}
 The message and state update events to include for rooms. More...
 
RoomEventFilter accountData {}
 The per user account data to include for rooms. More...
 

Detailed Description

Filters to be applied to room data.

Definition at line 12 of file sync_filter.h.

Member Data Documentation

◆ accountData

RoomEventFilter Quotient::RoomFilter::accountData {}

The per user account data to include for rooms.

Definition at line 36 of file sync_filter.h.

◆ ephemeral

RoomEventFilter Quotient::RoomFilter::ephemeral {}

The ephemeral events to include for rooms. These are the events that appear in the ephemeral property in the /sync response.

Definition at line 24 of file sync_filter.h.

◆ includeLeave

std::optional<bool> Quotient::RoomFilter::includeLeave {}

Include rooms that the user has left in the sync, default false.

Definition at line 27 of file sync_filter.h.

◆ notRooms

QStringList Quotient::RoomFilter::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. This filter is applied before the filters inephemeral,state,timelineoraccount_data`

Definition at line 16 of file sync_filter.h.

◆ rooms

QStringList Quotient::RoomFilter::rooms {}

A list of room IDs to include. If this list is absent then all rooms are included. This filter is applied before the filters in ephemeral, state, timeline or account_data

Definition at line 20 of file sync_filter.h.

◆ state

RoomEventFilter Quotient::RoomFilter::state {}

The state events to include for rooms.

Definition at line 30 of file sync_filter.h.

◆ timeline

RoomEventFilter Quotient::RoomFilter::timeline {}

The message and state update events to include for rooms.

Definition at line 33 of file sync_filter.h.


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