From 795435b1ce4b76680397226ea0c6fca1a9b9509a Mon Sep 17 00:00:00 2001 From: Matthew Hodgson Date: Wed, 16 Mar 2016 10:33:20 +0000 Subject: [PATCH] DOH --- 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 9ee88bb047..bf66e43ab8 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 if (!MatrixClientPeg.get().isGuest) { + } else if (!MatrixClientPeg.get().isGuest()) { addThreepidSection = (