From 3818a89ca3a0e9308dd23eaca8bbc94c85e606cb Mon Sep 17 00:00:00 2001 From: David Baker Date: Tue, 2 Aug 2016 18:46:43 +0100 Subject: [PATCH] Comment guestCreds --- src/components/structures/MatrixChat.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/components/structures/MatrixChat.js b/src/components/structures/MatrixChat.js index a4f024efef..d0ff91fa3b 100644 --- a/src/components/structures/MatrixChat.js +++ b/src/components/structures/MatrixChat.js @@ -141,6 +141,10 @@ module.exports = React.createClass({ componentWillMount: function() { this.favicon = new Favico({animation: 'none'}); + + // Stashed guest credentials if the user logs out + // whilst logged in as a guest user (so they can change + // their mind & log back in) this.guestCreds = null; },