1
0
mirror of https://github.com/element-hq/element-web.git synced 2025-12-02 21:22:41 +03:00

hide 3PID settings from guests

This commit is contained in:
Matthew Hodgson
2016-03-15 23:57:42 +00:00
parent 25bf4030de
commit d8af6ec240

View File

@@ -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">