You've already forked matrix-js-sdk
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:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user