1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-12-01 04:43:29 +03:00

Always return true for voice calls

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
Šimon Brandner
2021-07-22 09:24:59 +02:00
parent ceafb1c5d0
commit fcbbcc0398

View File

@@ -901,6 +901,7 @@ export class MatrixCall extends EventEmitter {
* (including if the call is not set up yet). * (including if the call is not set up yet).
*/ */
isLocalVideoMuted(): boolean { isLocalVideoMuted(): boolean {
if (this.type === CallType.Voice) return true;
return this.vidMuted; return this.vidMuted;
} }