A set of fixes and upgrades

* writeToDownloads: Add missing await
* Remove window.isFocused() - not used anywhere!
* Update typescript, p-queue, make necessary changes to fix build
* Slow down sender certificate retries with no existing cert
* Slow down signed prekey refreshes when unlinked - 5s -> 5m
* Update protobufjs to 4.1.2
This commit is contained in:
Scott Nonnenberg 2020-02-07 11:37:04 -08:00 committed by GitHub
parent 38c7fa3da6
commit 3938eb9801
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
15 changed files with 4824 additions and 3975 deletions

View file

@ -189,7 +189,7 @@ exports.writeToDownloads = async ({ data, name }) => {
throw new Error('Invalid filename!');
}
writeWithAttributes(normalized, Buffer.from(data));
await writeWithAttributes(normalized, Buffer.from(data));
return {
fullPath: normalized,