mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-17 05:55:00 +08:00
Added pass through of roomId
This commit is contained in:
parent
ca1bb0f700
commit
2db8f4ae67
@ -519,12 +519,13 @@ module.exports = React.createClass({
|
|||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
_invite: function() {
|
_invite: function(roomId) {
|
||||||
var ChatInviteDialog = sdk.getComponent("dialogs.ChatInviteDialog");
|
var ChatInviteDialog = sdk.getComponent("dialogs.ChatInviteDialog");
|
||||||
Modal.createDialog(ChatInviteDialog, {
|
Modal.createDialog(ChatInviteDialog, {
|
||||||
title: "Invite new room members",
|
title: "Invite new room members",
|
||||||
button: "Send Invites",
|
button: "Send Invites",
|
||||||
description: "Who would you like to add to this room?"
|
description: "Who would you like to add to this room?",
|
||||||
|
roomId: roomId,
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user