Make this a done so it doesn't swallow exceptions

pull/1/head
David Baker 2015-07-16 16:04:12 +01:00
parent 155dd74a6f
commit ebe6072225
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ module.exports = {
MatrixClientPeg.get().login('m.login.password', {
'user': that.refs.user.getDOMNode().value,
'password': that.refs.pass.getDOMNode().value
}).then(function(data) {
}).done(function(data) {
// XXX: we assume this means we're logged in, but there could be a next stage
MatrixClientPeg.replace(Matrix.createClient({
baseUrl: that.state.hs_url,