Fix group Leave button tooltip

This commit is contained in:
Luke Barnard 2017-10-25 12:09:13 +01:00
parent fd85c74bc5
commit 37b55984ec

View file

@ -787,8 +787,8 @@ export default React.createClass({
</div>; </div>;
} else if (group.myMembership === 'join' && this.state.editing) { } else if (group.myMembership === 'join' && this.state.editing) {
const leaveButtonTooltip = this.state.isUserPrivileged ? const leaveButtonTooltip = this.state.isUserPrivileged ?
_t("You are a member of this community") : _t("You are an administrator of this community") :
_t("You are an administrator of this community"); _t("You are a member of this community");
const leaveButtonClasses = classnames({ const leaveButtonClasses = classnames({
"mx_RoomHeader_textButton": true, "mx_RoomHeader_textButton": true,
"mx_GroupView_textButton": true, "mx_GroupView_textButton": true,