Skip to content

Commit

Permalink
Temporarily disable remote control
Browse files Browse the repository at this point in the history
  • Loading branch information
saghul committed Jul 2, 2020
1 parent 203f138 commit 0b88a78
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion app/features/conference/components/Conference.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {

/**
Expand Down Expand Up @@ -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) {
Expand Down

0 comments on commit 0b88a78

Please sign in to comment.