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

Commit

Permalink
guests trying to join communities should fire the ILAG flow.
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Telatynski <[email protected]>
  • Loading branch information
t3chguy committed Jul 15, 2018
1 parent f429ae5 commit 29d48e5
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 29d48e5

Please sign in to comment.