From 29d48e5dad8aad4bd7288f85aaf146d60ede3844 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Sun, 15 Jul 2018 22:48:25 +0100 Subject: [PATCH] guests trying to join communities should fire the ILAG flow. Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --- src/components/structures/GroupView.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/components/structures/GroupView.js b/src/components/structures/GroupView.js index 801d2e282e..9498c2aa2a 100644 --- a/src/components/structures/GroupView.js +++ b/src/components/structures/GroupView.js @@ -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