diff --git a/src/components/structures/auth/Registration.js b/src/components/structures/auth/Registration.js index af51ca7df0..63c5b267cf 100644 --- a/src/components/structures/auth/Registration.js +++ b/src/components/structures/auth/Registration.js @@ -536,7 +536,7 @@ module.exports = React.createClass({ />; } else if (!this.state.matrixClient && !this.state.busy) { return null; - } else if (this.state.busy || !this.state.flows | this.state.serverCaps === null) { + } else if (this.state.busy || !this.state.flows) { return
; diff --git a/test/components/structures/auth/Registration-test.js b/test/components/structures/auth/Registration-test.js index 38c7ae3849..3d4c8f921a 100644 --- a/test/components/structures/auth/Registration-test.js +++ b/test/components/structures/auth/Registration-test.js @@ -72,7 +72,6 @@ describe('Registration', function() { // Set non-empty flows, capabilities & matrixClient to get past the loading spinner root.setState({ flows: [], - serverCaps: {}, matrixClient: {}, busy: false, });