Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit ef104b7

Browse files
committed
Update group join button to match new API
1 parent 560da03 commit ef104b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/structures/GroupView.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -943,7 +943,7 @@ export default React.createClass({
943943
if ((!group || group.myMembership === 'leave') &&
944944
this.state.summary &&
945945
this.state.summary.profile &&
946-
Boolean(this.state.summary.profile.is_joinable)
946+
Boolean(this.state.summary.profile.is_openly_joinable)
947947
) {
948948
membershipButtonText = _t("Join this community");
949949
membershipButtonOnClick = this._onJoinClick;

0 commit comments

Comments
 (0)