mirror of
https://github.com/moparisthebest/mail
synced 2025-01-30 22:50:17 -05:00
fixed bug when offline
This commit is contained in:
parent
4833169863
commit
b2a8f2926f
@ -16,8 +16,7 @@ app.dao.EmailDAO = function(_, crypto, devicestorage, cloudstorage, naclCrypto,
|
||||
// sync user's cloud key with local storage
|
||||
cloudstorage.getUserSecretKey(account.get('emailAddress'), function(err) {
|
||||
if (err) {
|
||||
callback(err);
|
||||
return;
|
||||
console.log('Error syncing secret key to cloud: ' + err);
|
||||
}
|
||||
// init crypto
|
||||
initCrypto();
|
||||
|
Loading…
Reference in New Issue
Block a user