Rename DMInviteDialog to be a generic Invite Dialog
This commit is contained in:
parent
5380651c84
commit
7da9e0582f
4 changed files with 45 additions and 45 deletions
|
@ -44,9 +44,9 @@ export function inviteMultipleToRoom(roomId, addrs) {
|
|||
export function showStartChatInviteDialog() {
|
||||
if (SettingsStore.isFeatureEnabled("feature_ftue_dms")) {
|
||||
// This new dialog handles the room creation internally - we don't need to worry about it.
|
||||
const DMInviteDialog = sdk.getComponent("dialogs.DMInviteDialog");
|
||||
const InviteDialog = sdk.getComponent("dialogs.InviteDialog");
|
||||
Modal.createTrackedDialog(
|
||||
'Start DM', '', DMInviteDialog, {},
|
||||
'Start DM', '', InviteDialog, {},
|
||||
/*className=*/null, /*isPriority=*/false, /*isStatic=*/true,
|
||||
);
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue