This commit is contained in:
Matthew Hodgson 2016-03-16 10:33:20 +00:00
parent f589bf6b2e
commit 795435b1ce

View File

@ -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 if (!MatrixClientPeg.get().isGuest) { } 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">