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

This commit is contained in:
Mihai-Andrei Uscat 2020-11-26 12:13:50 +02:00 committed by GitHub
parent 39cf8854af
commit a8db3c1b28
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 27 deletions

View File

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

View File

@ -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);
}
} }