Support for single-attachment delete synced across devices
This commit is contained in:
parent
97229e2e65
commit
ac04d02d4f
26 changed files with 422 additions and 55 deletions
|
@ -1833,6 +1833,7 @@ export class BackupExportStream extends Readable {
|
|||
backupLevel: BackupLevel;
|
||||
messageReceivedAt: number;
|
||||
}): Promise<Backups.MessageAttachment> {
|
||||
const { clientUuid } = attachment;
|
||||
const filePointer = await this.processAttachment({
|
||||
attachment,
|
||||
backupLevel,
|
||||
|
@ -1843,6 +1844,7 @@ export class BackupExportStream extends Readable {
|
|||
pointer: filePointer,
|
||||
flag: this.getMessageAttachmentFlag(attachment),
|
||||
wasDownloaded: isDownloaded(attachment), // should always be true
|
||||
clientUuid: clientUuid ? uuidToBytes(clientUuid) : undefined,
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue