mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 12:19:41 +00:00
Uint8Array migration
This commit is contained in:
@@ -37,7 +37,7 @@ type CleanedDataValue =
|
||||
| boolean
|
||||
| null
|
||||
| undefined
|
||||
| Buffer
|
||||
| Uint8Array
|
||||
| CleanedObject
|
||||
| CleanedArray;
|
||||
/* eslint-disable no-restricted-syntax */
|
||||
@@ -111,7 +111,7 @@ function cleanDataInner(
|
||||
return undefined;
|
||||
}
|
||||
|
||||
if (data instanceof Buffer) {
|
||||
if (data instanceof Uint8Array) {
|
||||
return data;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user