С binary на hex
This commit is contained in:
@@ -211,7 +211,7 @@ export function DialogInput() {
|
||||
}
|
||||
sendMessage("", [
|
||||
{
|
||||
blob: Buffer.from(await audioBlob.arrayBuffer()).toString('binary'),
|
||||
blob: Buffer.from(await audioBlob.arrayBuffer()).toString('hex'),
|
||||
id: generateRandomKey(8),
|
||||
type: AttachmentType.VOICE,
|
||||
preview: duration + "::" + interpolateCompressWaves(35).join(","),
|
||||
|
||||
Reference in New Issue
Block a user