Merge branch 'master' of github.com:mozilla/send into frontend_tests
This commit is contained in:
commit
ba348b6839
|
@ -74,9 +74,7 @@ class FileReceiver extends EventEmitter {
|
||||||
fdata.data
|
fdata.data
|
||||||
).then(decrypted => {
|
).then(decrypted => {
|
||||||
this.emit('decrypting', false);
|
this.emit('decrypting', false);
|
||||||
return new Promise((resolve, reject) => {
|
return Promise.resolve(decrypted)
|
||||||
resolve(decrypted);
|
|
||||||
})
|
|
||||||
}),
|
}),
|
||||||
fdata.filename,
|
fdata.filename,
|
||||||
hexToArray(fdata.aad)
|
hexToArray(fdata.aad)
|
||||||
|
|
Loading…
Reference in New Issue