Add missing ?

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
Šimon Brandner 2021-08-04 16:34:59 +02:00
parent 881cac0d21
commit 023d874949
No known key found for this signature in database
GPG key ID: CC823428E9B582FB

View file

@ -485,7 +485,7 @@ export default class CallHandler extends EventEmitter {
new PushProcessor(MatrixClientPeg.get()).getPushRuleById(RuleId.IncomingCall) as IPushRule
);
const pushRuleEnabled = incomingCallPushRule?.enabled;
const tweakSetToRing = incomingCallPushRule.actions.some((action: Tweaks) => (
const tweakSetToRing = incomingCallPushRule?.actions.some((action: Tweaks) => (
action.set_tweak === TweakName.Sound &&
action.value === "ring"
));