From 23f22617ed73e6097a8c236566184bc45ff628a6 Mon Sep 17 00:00:00 2001 From: David Baker Date: Wed, 6 Mar 2019 10:32:30 +0000 Subject: [PATCH] Only show hosting link if group admin --- 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 6f1aeaf624..dcbe212267 100644 --- a/src/components/structures/GroupView.js +++ b/src/components/structures/GroupView.js @@ -820,7 +820,7 @@ export default React.createClass({ const hostingSignupLink = getHostingLink('community-settings'); let hostingSignup = null; - if (hostingSignupLink) { + if (hostingSignupLink && this.state.isUserPrivileged) { hostingSignup =
{_t( "Want more than a community? Get your own server", {},