mirror of
https://github.com/vector-im/element-web.git
synced 2025-10-03 03:21:49 +02:00
Only show hosting link if group admin
This commit is contained in:
parent
a9402beb8f
commit
23f22617ed
@ -820,7 +820,7 @@ export default React.createClass({
|
|||||||
|
|
||||||
const hostingSignupLink = getHostingLink('community-settings');
|
const hostingSignupLink = getHostingLink('community-settings');
|
||||||
let hostingSignup = null;
|
let hostingSignup = null;
|
||||||
if (hostingSignupLink) {
|
if (hostingSignupLink && this.state.isUserPrivileged) {
|
||||||
hostingSignup = <div className="mx_GroupView_hostingSignup">
|
hostingSignup = <div className="mx_GroupView_hostingSignup">
|
||||||
{_t(
|
{_t(
|
||||||
"Want more than a community? <a>Get your own server</a>", {},
|
"Want more than a community? <a>Get your own server</a>", {},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user