diff --git a/src/components/structures/UserSettings.js b/src/components/structures/UserSettings.js index 7fb617d690..89146229fa 100644 --- a/src/components/structures/UserSettings.js +++ b/src/components/structures/UserSettings.js @@ -385,6 +385,9 @@ module.exports = React.createClass({ }, _renderDeactivateAccount: function() { + // We can't deactivate a guest account. + if (MatrixClientPeg.get().isGuest()) return null; + return