Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

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

Mihai-Andrei Uscata8db3c1b286e
diff --git a/modules/API/external/electronPopupsConfig.json b/modules/API/external/electronPopupsConfig.json
deleted file mode 100644
index 5b27cb9e36..0000000000
--- a/modules/API/external/electronPopupsConfig.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "google-auth": {
- "matchPatterns": {
- "url": "accounts.google.com"
- },
- "target": "electron"
- },
- "dropbox-auth": {
- "matchPatterns": {
- "url": "dropbox.com/oauth2/authorize"
- },
- "target": "electron"
- }
-}
diff --git a/modules/API/external/external_api.js b/modules/API/external/external_api.js
index a567ea9ac2..e6d3296de1 100644
--- a/modules/API/external/external_api.js
+++ b/modules/API/external/external_api.js
@@ -7,7 +7,6 @@ import {
Transport
} from '../../transport';
-import electronPopupsConfig from './electronPopupsConfig.json';
import {
getAvailableDevices,
getCurrentDevices,
@@ -1070,16 +1069,4 @@ export default class JitsiMeetExternalAPI extends EventEmitter {
stopRecording(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);
- }
}