Step 8.5: Move call transfer invite dialog construction
This commit is contained in:
parent
528482f74d
commit
cd98106afb
7 changed files with 117 additions and 42 deletions
|
@ -26,6 +26,7 @@ import ReportEventDialog from "../components/views/dialogs/ReportEventDialog";
|
|||
import TabbedIntegrationManagerDialog from "../components/views/dialogs/TabbedIntegrationManagerDialog";
|
||||
import SpacePreferencesDialog from "../components/views/dialogs/SpacePreferencesDialog";
|
||||
import SpaceSettingsDialog from "../components/views/dialogs/SpaceSettingsDialog";
|
||||
import InviteDialog from "../components/views/dialogs/InviteDialog";
|
||||
|
||||
/**
|
||||
* Auxiliary class to listen for dialog opening over the dispatcher and
|
||||
|
@ -91,6 +92,15 @@ export class DialogOpener {
|
|||
space: payload.space,
|
||||
}, /*className=*/null, /*isPriority=*/false, /*isStatic=*/true);
|
||||
break;
|
||||
case Action.OpenInviteDialog:
|
||||
Modal.createTrackedDialog(payload.analyticsName, '', InviteDialog, {
|
||||
kind: payload.kind,
|
||||
call: payload.call,
|
||||
roomId: payload.roomId,
|
||||
}, payload.className, false, true).finished.then((results) => {
|
||||
payload.onFinishedCallback?.(results);
|
||||
});
|
||||
break;
|
||||
}
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue