Commit 663839d5 authored by jbuechele's avatar jbuechele
Browse files

allow remote control for fairmeeting servers

parent 54475812
......@@ -15,8 +15,6 @@ import { conferenceEnded, conferenceJoined } from '../actions';
import JitsiMeetExternalAPI from '../external_api';
import { LoadingIndicator, Wrapper } from '../styled';
const ENABLE_REMOTE_CONTROL = false;
type Props = {
/**
......@@ -273,8 +271,9 @@ class Conference extends Component<Props, State> {
const iframe = this._api.getIFrame();
setupScreenSharingRender(this._api);
const isRemoteControlAllowed = ['pro.fairmeeting.net', 'fairmeeting.net', 'pro.fairmeeting.net'].includes(url.hostname);
if (ENABLE_REMOTE_CONTROL) {
if (isRemoteControlAllowed) {
new RemoteControl(iframe); // eslint-disable-line no-new
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment