From ffe2ba3b6c6853721f3612e23ffed28a31317b2e Mon Sep 17 00:00:00 2001 From: Robin Townsend Date: Wed, 27 Apr 2022 12:27:57 -0400 Subject: [PATCH] Fix type lints --- src/vector/jitsi/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/vector/jitsi/index.ts b/src/vector/jitsi/index.ts index da7b1d0cd3d..aae1b9cf3c2 100644 --- a/src/vector/jitsi/index.ts +++ b/src/vector/jitsi/index.ts @@ -412,10 +412,10 @@ function joinConference(audioDevice?: string, videoDevice?: string) { // otherwise the React SDK will mistakenly think the user turned off // their video by hand setTimeout(() => { - if (meetApi) widgetApi.transport.send(ElementWidgetActions.MuteVideo) + if (meetApi) widgetApi.transport.send(ElementWidgetActions.MuteVideo, {}) }, 200); } else { - widgetApi.transport.send(ElementWidgetActions.UnmuteVideo); + widgetApi.transport.send(ElementWidgetActions.UnmuteVideo, {}); } });