1
0
mirror of https://gitlab.com/timvisee/send.git synced 2024-11-10 21:22:35 +01:00

Merge branch 'master' of github.com:mozilla/send into frontend_tests

This commit is contained in:
Abhinav Adduri 2017-07-17 10:52:27 -07:00
commit ba348b6839

View File

@ -74,9 +74,7 @@ class FileReceiver extends EventEmitter {
fdata.data
).then(decrypted => {
this.emit('decrypting', false);
return new Promise((resolve, reject) => {
resolve(decrypted);
})
return Promise.resolve(decrypted)
}),
fdata.filename,
hexToArray(fdata.aad)