From b712a15a149b95b874c4922250c9c79e48d7aca4 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Tue, 20 Jun 2017 16:15:42 +0100 Subject: [PATCH] move in case it is racey ---- somehow? Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --- src/components/structures/MatrixChat.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/structures/MatrixChat.js b/src/components/structures/MatrixChat.js index 108a94cba2..17df3172df 100644 --- a/src/components/structures/MatrixChat.js +++ b/src/components/structures/MatrixChat.js @@ -993,7 +993,6 @@ module.exports = React.createClass({ * Called when the session is logged out */ _onLoggedOut: function() { - this._setPageSubtitle(); this.notifyNewScreen('login'); this.setStateForNewView({ view: VIEWS.LOGIN, @@ -1004,6 +1003,7 @@ module.exports = React.createClass({ page_type: PageTypes.RoomDirectory, }); this._teamToken = null; + this._setPageSubtitle(); }, /**