The Matrix client object to use
Private
Readonly
clientThe Matrix client object to use
Static
Private
cachedGet the user's push actions for the given event
Private
createPrivate
eventPrivate
eventPrivate
eventPrivate
eventPrivate
eventPrivate
eventPrivate
matchingOptional
rulesets: IPushRulesPrivate
matchingPrivate
pushOptional
rulesets: IPushRulesPrivate
templatePrivate
valueStatic
actionConvert a list of actions into a object with the actions as keys and their values eg. [ 'notify', { set_tweak: 'sound', value: 'default' } ] becomes { notify: true, tweaks: { sound: 'default' } }
A object with key 'notify' (true or false) and an object of actions
The actions list
Static
rewriteRewrites conditions on a client's push rules to match the defaults where applicable. Useful for upgrading push rules to more strict conditions when the server is falling behind on defaults.
The rewritten rules
The client's existing push rules
Generated using TypeDoc
Construct a Push Processor.