mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 20:26:24 +00:00
Resumable v2 uploads
This commit is contained in:
@@ -148,7 +148,8 @@ export async function uploadFile({
|
||||
});
|
||||
} else {
|
||||
await server.putEncryptedAttachment(
|
||||
() => createReadStream(absoluteCiphertextPath),
|
||||
(start, end) => createReadStream(absoluteCiphertextPath, { start, end }),
|
||||
ciphertextFileSize,
|
||||
uploadForm
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user