Skip to content

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

788 B
Raw Blame
import { ConnectionFailedError } from '../base/connection/types';
import { openDialog } from '../base/dialog/actions';
import PageReloadDialog from '../base/dialog/components/native/PageReloadDialog';


/**
 * Opens {@link PageReloadDialog}.
 *
 * @param {Error} conferenceError - The conference error that caused the reload.
 * @param {Error} configError - The conference error that caused the reload.
 * @param {Error} connectionError - The conference error that caused the reload.
 * @returns {Function}
 */
export function openPageReloadDialog(
        conferenceError?: Error, configError?: Error, connectionError?: ConnectionFailedError) {
    return openDialog('PageReloadDialog', PageReloadDialog, {
        conferenceError,
        configError,
        connectionError
    });
}