New attachment storage system
This commit is contained in:
parent
273e1ccb15
commit
28664a606f
161 changed files with 2418 additions and 1562 deletions
|
@ -15,7 +15,7 @@ export async function resolveAttachmentDraftData(
|
|||
return;
|
||||
}
|
||||
|
||||
const data = await window.Signal.Migrations.readDraftData(attachment.path);
|
||||
const data = await window.Signal.Migrations.readDraftData(attachment);
|
||||
if (data.byteLength !== attachment.size) {
|
||||
log.error(
|
||||
`Attachment size from disk ${data.byteLength} did not match attachment size ${attachment.size}`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue