From 2db8f4ae6723f79446f6ce69d4d82ba4cacce591 Mon Sep 17 00:00:00 2001 From: wmwragg Date: Tue, 13 Sep 2016 14:30:37 +0100 Subject: [PATCH] Added pass through of roomId --- src/components/structures/MatrixChat.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/components/structures/MatrixChat.js b/src/components/structures/MatrixChat.js index 4d4b47ce32..45c7f5d01b 100644 --- a/src/components/structures/MatrixChat.js +++ b/src/components/structures/MatrixChat.js @@ -519,12 +519,13 @@ module.exports = React.createClass({ }); }, - _invite: function() { + _invite: function(roomId) { var ChatInviteDialog = sdk.getComponent("dialogs.ChatInviteDialog"); Modal.createDialog(ChatInviteDialog, { title: "Invite new room members", 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, }); },