Allow guest to see MyGroups, show ILAG when creating a group

This commit is contained in:
Luke Barnard 2017-11-28 12:08:53 +00:00
parent bbaa46f773
commit a8594a58e5
2 changed files with 13 additions and 5 deletions

View file

@ -81,8 +81,7 @@ const ONBOARDING_FLOW_STARTERS = [
'view_user_settings',
'view_create_chat',
'view_create_room',
'view_my_groups',
'view_group',
'view_create_group',
];
module.exports = React.createClass({
@ -501,6 +500,11 @@ module.exports = React.createClass({
case 'view_create_room':
this._createRoom();
break;
case 'view_create_group': {
const CreateGroupDialog = sdk.getComponent("dialogs.CreateGroupDialog");
Modal.createTrackedDialog('Create Community', '', CreateGroupDialog);
}
break;
case 'view_room_directory':
this._setPage(PageTypes.RoomDirectory);
this.notifyNewScreen('directory');