diff --git a/src/components/structures/MatrixChat.js b/src/components/structures/MatrixChat.js index b82ef2d1a3..e1e622af65 100644 --- a/src/components/structures/MatrixChat.js +++ b/src/components/structures/MatrixChat.js @@ -197,6 +197,8 @@ module.exports = React.createClass({ window.addEventListener('resize', this.handleResize); this.handleResize(); + // the extra q() ensures that synchronous exceptions hit the same codepath as + // asynchronous ones. q().then(() => { return Lifecycle.loadSession({ realQueryParams: this.props.realQueryParams,