Update electron to 15.3.0

This commit is contained in:
Fedor Indutny 2021-11-08 22:43:37 +01:00 committed by GitHub
parent 7de340a104
commit 519ca05911
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
16 changed files with 525 additions and 2393 deletions

View file

@ -43,7 +43,7 @@ export function processAttachment(
}
const { cdnId } = attachment;
const hasCdnId = cdnId instanceof Long ? !cdnId.isZero() : Boolean(cdnId);
const hasCdnId = Long.isLong(cdnId) ? !cdnId.isZero() : Boolean(cdnId);
return {
...shallowDropNull(attachment),