fix(jaas) redirect to about blank when close meeting opened in iframe
This commit is contained in:
parent
495957104c
commit
1279c5b0da
|
@ -20,6 +20,7 @@ import {
|
|||
parseURIString,
|
||||
parseURLParams
|
||||
} from '../base/util';
|
||||
import { inIframe } from '../base/util/iframeUtils';
|
||||
import { isVpaasMeeting } from '../jaas/functions';
|
||||
import {
|
||||
NOTIFICATION_TIMEOUT_TYPE,
|
||||
|
@ -164,7 +165,13 @@ export function maybeRedirectToWelcomePage(options: Object = {}) {
|
|||
// if close page is enabled redirect to it, without further action
|
||||
if (enableClosePage) {
|
||||
if (isVpaasMeeting(getState())) {
|
||||
dispatch(redirectToStaticPage('/'));
|
||||
const isOpenedInIframe = inIframe();
|
||||
|
||||
if (isOpenedInIframe) {
|
||||
window.location = 'about:blank';
|
||||
} else {
|
||||
dispatch(redirectToStaticPage('/'));
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue