Add missing ?
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
parent
881cac0d21
commit
023d874949
1 changed files with 1 additions and 1 deletions
|
@ -485,7 +485,7 @@ export default class CallHandler extends EventEmitter {
|
||||||
new PushProcessor(MatrixClientPeg.get()).getPushRuleById(RuleId.IncomingCall) as IPushRule
|
new PushProcessor(MatrixClientPeg.get()).getPushRuleById(RuleId.IncomingCall) as IPushRule
|
||||||
);
|
);
|
||||||
const pushRuleEnabled = incomingCallPushRule?.enabled;
|
const pushRuleEnabled = incomingCallPushRule?.enabled;
|
||||||
const tweakSetToRing = incomingCallPushRule.actions.some((action: Tweaks) => (
|
const tweakSetToRing = incomingCallPushRule?.actions.some((action: Tweaks) => (
|
||||||
action.set_tweak === TweakName.Sound &&
|
action.set_tweak === TweakName.Sound &&
|
||||||
action.value === "ring"
|
action.value === "ring"
|
||||||
));
|
));
|
||||||
|
|
Loading…
Reference in a new issue