mirror of
https://github.com/element-hq/element-web
synced 2024-11-28 04:21:57 +03:00
Use a "normal" promise in order to .then
This commit is contained in:
parent
0ef8e2a8f4
commit
a339316ede
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue