Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
Merge pull request #2059 from matrix-org/t3chguy/join_community_fire_…
Browse files Browse the repository at this point in the history
…ilag_flow

guests trying to join communities should fire the ILAG flow.
  • Loading branch information
dbkr authored Sep 5, 2018
2 parents a6d241c + 29d48e5 commit e5b761b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/components/structures/GroupView.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e5b761b

Please sign in to comment.