Use a "normal" promise in order to .then
This commit is contained in:
+1
-1
@@ -278,7 +278,7 @@ export function setLoggedIn(credentials) {
|
|||||||
credentials.homeserverUrl);
|
credentials.homeserverUrl);
|
||||||
|
|
||||||
// Resolves by default
|
// Resolves by default
|
||||||
let teamPromise = q(null);
|
let teamPromise = Promise.resolve(null);
|
||||||
|
|
||||||
// persist the session
|
// persist the session
|
||||||
if (localStorage) {
|
if (localStorage) {
|
||||||
|
|||||||
Reference in New Issue
Block a user