mirror of
https://github.com/vector-im/element-web.git
synced 2025-08-16 11:17:02 +02:00
Update group join button to match new API
This commit is contained in:
parent
767cd8ca10
commit
2da45277cd
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user