Show the group invite dialog

What to TODO said!
This commit is contained in:
David Baker 2017-08-16 14:59:00 +01:00
parent 57eb2feeb6
commit 1a7a670c96
1 changed files with 2 additions and 1 deletions

View File

@ -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({