From 0b88a783f3f7658d7e04e8a868ffbb4b56b77c7b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Sa=C3=BAl=20Ibarra=20Corretg=C3=A9?= <s@saghul.net>
Date: Thu, 2 Jul 2020 08:47:27 +0200
Subject: [PATCH] Temporarily disable remote control

---
 app/features/conference/components/Conference.js | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/app/features/conference/components/Conference.js b/app/features/conference/components/Conference.js
index 4a4dbb5..9bd6a16 100644
--- a/app/features/conference/components/Conference.js
+++ b/app/features/conference/components/Conference.js
@@ -15,6 +15,8 @@ import { conferenceEnded, conferenceJoined } from '../actions';
 import JitsiMeetExternalAPI from '../external_api';
 import { LoadingIndicator, Wrapper } from '../styled';
 
+const ENABLE_REMOTE_CONTROL = false;
+
 type Props = {
 
     /**
@@ -248,7 +250,10 @@ class Conference extends Component<Props, State> {
         const iframe = this._api.getIFrame();
 
         setupScreenSharingRender(this._api);
-        new RemoteControl(iframe); // eslint-disable-line no-new
+
+        if (ENABLE_REMOTE_CONTROL) {
+            new RemoteControl(iframe); // eslint-disable-line no-new
+        }
 
         // Allow window to be on top if enabled in settings
         if (this.props._alwaysOnTopWindowEnabled) {
-- 
GitLab