1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-22 04:02:40 +03:00

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

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