Fix media permissions failure on Calls window (#2550)
This commit is contained in:
@@ -862,6 +862,10 @@ export class WindowManager {
|
||||
}
|
||||
|
||||
getServerURLFromWebContentsId = (id: number) => {
|
||||
if (this.callsWidgetWindow && id === this.callsWidgetWindow.getWebContentsId()) {
|
||||
return this.callsWidgetWindow.getURL();
|
||||
}
|
||||
|
||||
const viewName = this.getViewNameByWebContentsId(id);
|
||||
if (!viewName) {
|
||||
return undefined;
|
||||
|
Reference in New Issue
Block a user