@ -583,6 +583,7 @@ define([
support: Util.find(store.proxy, ['mailboxes', 'support', 'channel']),
pendingFriends: store.proxy.friends_pending || {},
supportPrivateKey: Util.find(store.proxy, ['mailboxes', 'supportadmin', 'keys', 'curvePrivate']),
accountName: store.proxy.login_name || '',
teams: teams,
plan: account.plan
}
@ -423,7 +423,7 @@ define([
};
var additionalPriv = {
app: parsed.type,
accountName: Utils.LocalStore.getAccountName(),
loggedIn: Utils.LocalStore.isLoggedIn(),
origin: window.location.origin,
pathname: window.location.pathname,
fileHost: ApiConfig.fileHost,
@ -69,7 +69,7 @@ define([
funcs.getAppConfig = function () { return AppConfig; };
funcs.isLoggedIn = function () {
return ctx.metadataMgr.getPrivateData().accountName;
return ctx.metadataMgr.getPrivateData().loggedIn;
// MISC
@ -84,7 +84,7 @@ define([
metaObj.doc = {};
feedbackAllowed: Utils.Feedback.state,
@ -86,7 +86,7 @@ define([