Fix media permissions failure on Calls window (#2550)
This commit is contained in:
@@ -24,6 +24,7 @@ import {
|
||||
CALLS_PLUGIN_ID,
|
||||
} from 'common/utils/constants';
|
||||
import Utils from 'common/utils/util';
|
||||
import urlUtils from 'common/utils/url';
|
||||
import {
|
||||
CALLS_JOINED_CALL,
|
||||
CALLS_POPOUT_FOCUS,
|
||||
@@ -210,5 +211,13 @@ export default class CallsWidgetWindow extends EventEmitter {
|
||||
}
|
||||
this.popOut.focus();
|
||||
}
|
||||
|
||||
public getWebContentsId() {
|
||||
return this.win.webContents.id;
|
||||
}
|
||||
|
||||
public getURL() {
|
||||
return urlUtils.parseURL(this.win.webContents.getURL());
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user