Improve message download performance

This commit is contained in:
Scott Nonnenberg
2019-09-26 12:56:31 -07:00
parent 957f6f6474
commit 0c09f9620f
32 changed files with 906 additions and 633 deletions

View File

@@ -117,11 +117,11 @@ async function migrateToSQL({
if (item.envelope) {
// eslint-disable-next-line no-param-reassign
item.envelope = await arrayBufferToString(item.envelope);
item.envelope = arrayBufferToString(item.envelope);
}
if (item.decrypted) {
// eslint-disable-next-line no-param-reassign
item.decrypted = await arrayBufferToString(item.decrypted);
item.decrypted = arrayBufferToString(item.decrypted);
}
})
);