1
0
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:
Tankred Hase 2013-04-19 20:47:30 +02:00
parent 4833169863
commit b2a8f2926f

View File

@ -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();