mirror of
https://github.com/element-hq/element-web
synced 2024-11-23 01:35:49 +03:00
Update group join button to match new API
This commit is contained in:
parent
560da03a9f
commit
ef104b762e
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue