diff --git a/src/components/structures/MatrixChat.js b/src/components/structures/MatrixChat.js index ff9a6df61b..a6965e06ca 100644 --- a/src/components/structures/MatrixChat.js +++ b/src/components/structures/MatrixChat.js @@ -255,6 +255,14 @@ export default React.createClass({ // For PersistentElement this.state.resizeNotifier.on("middlePanelResized", this._dispatchTimelineResize); + + // Force users to go through the soft logout page if they're soft logged out + if (Lifecycle.isSoftLogout()) { + // When the session loads it'll be detected as soft logged out and a dispatch + // will be sent out to say that, triggering this MatrixChat to show the soft + // logout page. + Lifecycle.loadSession({}); + } }, componentDidMount: function() {