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

#include <push_rule.h>

Public Attributes

QVector< QVariant > actions
 The actions to perform when this rule is matched. More...
 
bool isDefault
 Whether this is a default rule, or has been set explicitly. More...
 
bool enabled
 Whether the push rule is enabled or not. More...
 
QString ruleId
 The ID of this rule. More...
 
QVector< PushConditionconditions {}
 
QString pattern {}
 

Detailed Description

Definition at line 11 of file push_rule.h.

Member Data Documentation

◆ actions

QVector<QVariant> Quotient::PushRule::actions

The actions to perform when this rule is matched.

Definition at line 13 of file push_rule.h.

◆ conditions

QVector<PushCondition> Quotient::PushRule::conditions {}

The conditions that must hold true for an event in order for a rule to be applied to an event. A rule with no conditions always matches. Only applicable to underride and override rules.

Definition at line 27 of file push_rule.h.

◆ enabled

bool Quotient::PushRule::enabled

Whether the push rule is enabled or not.

Definition at line 19 of file push_rule.h.

◆ isDefault

bool Quotient::PushRule::isDefault

Whether this is a default rule, or has been set explicitly.

Definition at line 16 of file push_rule.h.

◆ pattern

QString Quotient::PushRule::pattern {}

The glob-style pattern to match against. Only applicable to content rules.

Definition at line 31 of file push_rule.h.

◆ ruleId

QString Quotient::PushRule::ruleId

The ID of this rule.

Definition at line 22 of file push_rule.h.


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