From ef104b762e0772a9604e3e5a74c62d671d219ba4 Mon Sep 17 00:00:00 2001 From: Luke Barnard Date: Mon, 9 Apr 2018 16:57:27 +0100 Subject: [PATCH] Update group join button to match new API --- src/components/structures/GroupView.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/structures/GroupView.js b/src/components/structures/GroupView.js index 14c6b4a0be..9352760914 100644 --- a/src/components/structures/GroupView.js +++ b/src/components/structures/GroupView.js @@ -943,7 +943,7 @@ export default React.createClass({ if ((!group || group.myMembership === 'leave') && this.state.summary && this.state.summary.profile && - Boolean(this.state.summary.profile.is_joinable) + Boolean(this.state.summary.profile.is_openly_joinable) ) { membershipButtonText = _t("Join this community"); membershipButtonOnClick = this._onJoinClick;