mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-16 21:24:59 +08: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:
commit
e5b761b754
@ -723,6 +723,11 @@ export default React.createClass({
|
|||||||
},
|
},
|
||||||
|
|
||||||
_onJoinClick: async function() {
|
_onJoinClick: async function() {
|
||||||
|
if (this._matrixClient.isGuest()) {
|
||||||
|
dis.dispatch({action: 'view_set_mxid'});
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
this.setState({membershipBusy: true});
|
this.setState({membershipBusy: true});
|
||||||
|
|
||||||
// Wait 500ms to prevent flashing. Do this before sending a request otherwise we risk the
|
// Wait 500ms to prevent flashing. Do this before sending a request otherwise we risk the
|
||||||
|
Loading…
Reference in New Issue
Block a user