chore(popups): Move popup configs to electron-utils

pull/8168/head jitsi-meet_5291
Mihai-Andrei Uscat 4 years ago committed by GitHub
parent 39cf8854af
commit a8db3c1b28
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 14
      modules/API/external/electronPopupsConfig.json
  2. 13
      modules/API/external/external_api.js

@ -1,14 +0,0 @@
{
"google-auth": {
"matchPatterns": {
"url": "accounts.google.com"
},
"target": "electron"
},
"dropbox-auth": {
"matchPatterns": {
"url": "dropbox.com/oauth2/authorize"
},
"target": "electron"
}
}

@ -7,7 +7,6 @@ import {
Transport Transport
} from '../../transport'; } from '../../transport';
import electronPopupsConfig from './electronPopupsConfig.json';
import { import {
getAvailableDevices, getAvailableDevices,
getCurrentDevices, getCurrentDevices,
@ -1070,16 +1069,4 @@ export default class JitsiMeetExternalAPI extends EventEmitter {
stopRecording(mode) { stopRecording(mode) {
this.executeCommand('startRecording', mode); this.executeCommand('startRecording', mode);
} }
/**
* Returns the configuration for electron for the windows that are open
* from Jitsi Meet.
*
* @returns {Promise<Object>}
*
* NOTE: For internal use only.
*/
_getElectronPopupsConfig() {
return Promise.resolve(electronPopupsConfig);
}
} }

Loading…
Cancel
Save