Fix group Leave button tooltip

pull/21833/head
Luke Barnard 2017-10-25 12:09:13 +01:00
parent fd85c74bc5
commit 37b55984ec
1 changed files with 2 additions and 2 deletions

View File

@ -787,8 +787,8 @@ export default React.createClass({
</div>;
} else if (group.myMembership === 'join' && this.state.editing) {
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({
"mx_RoomHeader_textButton": true,
"mx_GroupView_textButton": true,