Load mailboxes after teams

pull/1/head
yflory 2020-02-18 17:24:28 +01:00
parent d6c3ad1597
commit d48cecf28e
1 changed files with 1 additions and 1 deletions

View File

@ -2335,7 +2335,6 @@ define([
initAnonRpc(null, null, waitFor());
initRpc(null, null, waitFor());
}).nThen(function (waitFor) {
loadMailbox(waitFor);
Migrate(proxy, waitFor(), function (version, progress) {
postMessage(clientId, 'LOADING_DRIVE', {
state: (2 + (version / 10)),
@ -2355,6 +2354,7 @@ define([
loadUniversal(Profile, 'profile', waitFor);
loadUniversal(Team, 'team', waitFor);
loadUniversal(History, 'history', waitFor);
loadMailbox(waitFor); // XXX make sure we don't have new issues with mailboxes being loaded later
cleanFriendRequests();
}).nThen(function () {
var requestLogin = function () {