From ffd24426c5927539011aeb7b9eb0a42e29f80215 Mon Sep 17 00:00:00 2001 From: Andrew Ferrazzutti Date: Fri, 21 Jun 2024 08:33:11 -0400 Subject: [PATCH] Split nested ternary operator into method Sonar typescript:S3358 --- src/matrixrtc/MatrixRTCSession.ts | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/src/matrixrtc/MatrixRTCSession.ts b/src/matrixrtc/MatrixRTCSession.ts index d9b604444e0..cc155fd3e6a 100644 --- a/src/matrixrtc/MatrixRTCSession.ts +++ b/src/matrixrtc/MatrixRTCSession.ts @@ -869,9 +869,7 @@ export class MatrixRTCSession extends TypedEventEmitter { if (!this.manageMediaKeys) return;