Browse Source

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

master
Mihai-Andrei Uscat 4 years ago
parent
commit
a8db3c1b28
No account linked to committer's email address

+ 0
- 14
modules/API/external/electronPopupsConfig.json View File

@@ -1,14 +0,0 @@
1
-{
2
-    "google-auth": {
3
-        "matchPatterns": {
4
-            "url": "accounts.google.com"
5
-        },
6
-        "target": "electron"
7
-    },
8
-    "dropbox-auth": {
9
-        "matchPatterns": {
10
-            "url": "dropbox.com/oauth2/authorize"
11
-        },
12
-        "target": "electron"
13
-    }
14
-}

+ 0
- 13
modules/API/external/external_api.js View File

@@ -7,7 +7,6 @@ import {
7 7
     Transport
8 8
 } from '../../transport';
9 9
 
10
-import electronPopupsConfig from './electronPopupsConfig.json';
11 10
 import {
12 11
     getAvailableDevices,
13 12
     getCurrentDevices,
@@ -1070,16 +1069,4 @@ export default class JitsiMeetExternalAPI extends EventEmitter {
1070 1069
     stopRecording(mode) {
1071 1070
         this.executeCommand('startRecording', mode);
1072 1071
     }
1073
-
1074
-    /**
1075
-     * Returns the configuration for electron for the windows that are open
1076
-     * from Jitsi Meet.
1077
-     *
1078
-     * @returns {Promise<Object>}
1079
-     *
1080
-     * NOTE: For internal use only.
1081
-     */
1082
-    _getElectronPopupsConfig() {
1083
-        return Promise.resolve(electronPopupsConfig);
1084
-    }
1085 1072
 }

Loading…
Cancel
Save