mirror of
https://github.com/SchildiChat/element-web.git
synced 2024-10-01 01:26:12 -04:00
Show the group invite dialog
What to TODO said!
This commit is contained in:
parent
57eb2feeb6
commit
1a7a670c96
@ -25,6 +25,7 @@ import Analytics from 'matrix-react-sdk/lib/Analytics';
|
|||||||
import rate_limited_func from 'matrix-react-sdk/lib/ratelimitedfunc';
|
import rate_limited_func from 'matrix-react-sdk/lib/ratelimitedfunc';
|
||||||
import Modal from 'matrix-react-sdk/lib/Modal';
|
import Modal from 'matrix-react-sdk/lib/Modal';
|
||||||
import AccessibleButton from 'matrix-react-sdk/lib/components/views/elements/AccessibleButton';
|
import AccessibleButton from 'matrix-react-sdk/lib/components/views/elements/AccessibleButton';
|
||||||
|
import { showGroupInviteDialog } from 'matrix-react-sdk/lib/GroupInvite';
|
||||||
|
|
||||||
module.exports = React.createClass({
|
module.exports = React.createClass({
|
||||||
displayName: 'RightPanel',
|
displayName: 'RightPanel',
|
||||||
@ -99,7 +100,7 @@ module.exports = React.createClass({
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (this.state.phase === this.Phase.GroupMemberList) {
|
if (this.state.phase === this.Phase.GroupMemberList) {
|
||||||
// TODO: display UserPickeDialog
|
showGroupInviteDialog(this.props.groupId);
|
||||||
} else {
|
} else {
|
||||||
// call UserPickerDialog
|
// call UserPickerDialog
|
||||||
dis.dispatch({
|
dis.dispatch({
|
||||||
|
Loading…
Reference in New Issue
Block a user