Fix eslint version

This commit is contained in:
RainLoop Team 2016-07-01 01:50:11 +03:00
parent 8e8a041032
commit 8a6765faeb
15 changed files with 342 additions and 398 deletions

View file

@ -85,7 +85,9 @@ PgpUserStore.prototype.findPrivateKeysByEncryptionKeyIds = function(aEncryptionK
{
aResult = _.uniq(_.compact(_.flatten(_.map(aRecipients, function(sEmail) {
var aKeys = sEmail ? self.findAllPrivateKeysByEmailNotNative(sEmail) : null;
return aKeys ? (bReturnWrapKeys ? aKeys : _.flatten(_.map(aKeys, function(oKey) {return oKey.getNativeKeys();}), true)) : [null];
return aKeys ? (bReturnWrapKeys ? aKeys : _.flatten(_.map(aKeys, function(oKey) {
return oKey.getNativeKeys();
}), true)) : [null];
}), true)), function(oKey) {return oKey.id;});
}