You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-28 15:22:05 +03:00
guests trying to join communities should fire the ILAG flow.
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
@ -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
|
||||||
|
Reference in New Issue
Block a user