From 7df3335570f22dc05bd042cbad9a4126513005cb Mon Sep 17 00:00:00 2001 From: Luke Barnard Date: Tue, 17 Oct 2017 11:59:52 +0100 Subject: [PATCH] Only show membership settings when editing --- src/components/structures/GroupView.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/structures/GroupView.js b/src/components/structures/GroupView.js index 38bd1a5f43..f11b81aa7e 100644 --- a/src/components/structures/GroupView.js +++ b/src/components/structures/GroupView.js @@ -757,7 +757,7 @@ export default React.createClass({ ; - } else if (group.myMembership === 'join') { + } else if (group.myMembership === 'join' && this.state.editing) { let youAreAMemberText = _t("You are a member of this group"); if (this.state.summary.user && this.state.summary.user.is_privileged) { youAreAMemberText = _t("You are an administrator of this group");