mirror of
https://github.com/vector-im/element-web.git
synced 2025-08-27 09:21:55 +02:00
Merge pull request #2755 from matrix-org/dbkr/hosting_link_only_if_group_admin
Only show hosting link if group admin
This commit is contained in:
commit
051e5d392c
@ -820,7 +820,7 @@ export default React.createClass({
|
||||
|
||||
const hostingSignupLink = getHostingLink('community-settings');
|
||||
let hostingSignup = null;
|
||||
if (hostingSignupLink) {
|
||||
if (hostingSignupLink && this.state.isUserPrivileged) {
|
||||
hostingSignup = <div className="mx_GroupView_hostingSignup">
|
||||
{_t(
|
||||
"Want more than a community? <a>Get your own server</a>", {},
|
||||
|
Loading…
x
Reference in New Issue
Block a user