Async buffer->BASE64 conversion (#1481)

* Async buffer->BASE64 conversion

* ESLint fixes
This commit is contained in:
jurajmatus 2022-08-10 18:31:04 +02:00 • committed by GitHub
commit 537e843a49
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -410,7 +410,7 @@ class Message extends Base {
signal: (new AbortController).signal
});
const data = window.WWebJS.arrayBufferToBase64(decryptedMedia);
const data = await window.WWebJS.arrayBufferToBase64Async(decryptedMedia);
return {
data,