You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-08 21:42:24 +03:00
hide 3PID settings from guests
This commit is contained in:
@@ -280,7 +280,7 @@ module.exports = React.createClass({
|
||||
var addThreepidSection;
|
||||
if (this.state.email_add_pending) {
|
||||
addThreepidSection = <Loader />;
|
||||
} else {
|
||||
} else if (!MatrixClientPeg.get().isGuest) {
|
||||
addThreepidSection = (
|
||||
<div className="mx_UserSettings_profileTableRow" key="new">
|
||||
<div className="mx_UserSettings_profileLabelCell">
|
||||
|
||||
Reference in New Issue
Block a user