From d8af6ec240b05555e8ea530c92cd479413a9ac62 Mon Sep 17 00:00:00 2001 From: Matthew Hodgson Date: Tue, 15 Mar 2016 23:57:42 +0000 Subject: [PATCH] hide 3PID settings from guests --- src/components/structures/UserSettings.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/structures/UserSettings.js b/src/components/structures/UserSettings.js index 03dfc959ef..9ee88bb047 100644 --- a/src/components/structures/UserSettings.js +++ b/src/components/structures/UserSettings.js @@ -280,7 +280,7 @@ module.exports = React.createClass({ var addThreepidSection; if (this.state.email_add_pending) { addThreepidSection = ; - } else { + } else if (!MatrixClientPeg.get().isGuest) { addThreepidSection = (