mirror of https://github.com/vector-im/riot-web
Use a "normal" promise in order to .then
parent
0ef8e2a8f4
commit
a339316ede
|
@ -278,7 +278,7 @@ export function setLoggedIn(credentials) {
|
|||
credentials.homeserverUrl);
|
||||
|
||||
// Resolves by default
|
||||
let teamPromise = q(null);
|
||||
let teamPromise = Promise.resolve(null);
|
||||
|
||||
// persist the session
|
||||
if (localStorage) {
|
||||
|
|
Loading…
Reference in New Issue