From 1a7a670c96296009a1d42db9c7a6cd5697141e91 Mon Sep 17 00:00:00 2001 From: David Baker Date: Wed, 16 Aug 2017 14:59:00 +0100 Subject: [PATCH] Show the group invite dialog What to TODO said! --- src/components/structures/RightPanel.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/structures/RightPanel.js b/src/components/structures/RightPanel.js index acd92e3f4..242997bfd 100644 --- a/src/components/structures/RightPanel.js +++ b/src/components/structures/RightPanel.js @@ -25,6 +25,7 @@ import Analytics from 'matrix-react-sdk/lib/Analytics'; import rate_limited_func from 'matrix-react-sdk/lib/ratelimitedfunc'; import Modal from 'matrix-react-sdk/lib/Modal'; import AccessibleButton from 'matrix-react-sdk/lib/components/views/elements/AccessibleButton'; +import { showGroupInviteDialog } from 'matrix-react-sdk/lib/GroupInvite'; module.exports = React.createClass({ displayName: 'RightPanel', @@ -99,7 +100,7 @@ module.exports = React.createClass({ } if (this.state.phase === this.Phase.GroupMemberList) { - // TODO: display UserPickeDialog + showGroupInviteDialog(this.props.groupId); } else { // call UserPickerDialog dis.dispatch({