Added pass through of roomId

This commit is contained in:
wmwragg 2016-09-13 14:30:37 +01:00
parent ca1bb0f700
commit 2db8f4ae67

View File

@ -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,
}); });
}, },