Merge pull request #2059 from matrix-org/t3chguy/join_community_fire_ilag_flow

guests trying to join communities should fire the ILAG flow.
This commit is contained in:
David Baker 2018-09-05 08:15:24 +01:00 committed by GitHub
commit e5b761b754
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -723,6 +723,11 @@ export default React.createClass({
},
_onJoinClick: async function() {
if (this._matrixClient.isGuest()) {
dis.dispatch({action: 'view_set_mxid'});
return;
}
this.setState({membershipBusy: true});
// Wait 500ms to prevent flashing. Do this before sending a request otherwise we risk the