Apply suggestions from code review
Co-Authored-By: Travis Ralston <travpc@gmail.com>
This commit is contained in:
parent
c96dd9715a
commit
aec622d5d0
3 changed files with 10 additions and 19 deletions
|
@ -481,8 +481,7 @@ export default createReactClass({
|
|||
group_id: groupId,
|
||||
},
|
||||
});
|
||||
dis.dispatch({action: 'require_registration',
|
||||
screen_after: {screen: `group/${groupId}`}});
|
||||
dis.dispatch({action: 'require_registration', screen_after: {screen: `group/${groupId}`}});
|
||||
willDoOnboarding = true;
|
||||
}
|
||||
if (stateKey === GroupStore.STATE_KEY.Summary) {
|
||||
|
@ -727,8 +726,7 @@ export default createReactClass({
|
|||
|
||||
_onJoinClick: async function() {
|
||||
if (this._matrixClient.isGuest()) {
|
||||
dis.dispatch({action: 'require_registration',
|
||||
screen_after: {screen: `group/${this.props.groupId}`}});
|
||||
dis.dispatch({action: 'require_registration', screen_after: {screen: `group/${this.props.groupId}`}});
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue