С binary на hex

This commit is contained in:
RoyceDa
2026-04-10 18:52:58 +02:00
parent ba12db3c72
commit 6554483939
2 changed files with 8 additions and 9 deletions

View File

@@ -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(","),