From 2da45277cd8548902495467bcfc40df1194e83cf 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 8884396c01..2cb791b689 100644 --- a/src/components/structures/GroupView.js +++ b/src/components/structures/GroupView.js @@ -948,7 +948,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;