hide 3PID settings from guests
This commit is contained in:
parent
25bf4030de
commit
d8af6ec240
1 changed files with 1 additions and 1 deletions
|
@ -280,7 +280,7 @@ module.exports = React.createClass({
|
||||||
var addThreepidSection;
|
var addThreepidSection;
|
||||||
if (this.state.email_add_pending) {
|
if (this.state.email_add_pending) {
|
||||||
addThreepidSection = <Loader />;
|
addThreepidSection = <Loader />;
|
||||||
} else {
|
} else if (!MatrixClientPeg.get().isGuest) {
|
||||||
addThreepidSection = (
|
addThreepidSection = (
|
||||||
<div className="mx_UserSettings_profileTableRow" key="new">
|
<div className="mx_UserSettings_profileTableRow" key="new">
|
||||||
<div className="mx_UserSettings_profileLabelCell">
|
<div className="mx_UserSettings_profileLabelCell">
|
||||||
|
|
Loading…
Reference in a new issue