Support thumbnail export & import during backup of visual attachments
This commit is contained in:
parent
451ee56c92
commit
61548061b8
30 changed files with 1326 additions and 327 deletions
|
@ -3960,7 +3960,11 @@ export default class MessageReceiver
|
|||
options?: { timeout?: number; disableRetries?: boolean }
|
||||
): Promise<AttachmentType> {
|
||||
const cleaned = processAttachment(attachment);
|
||||
return downloadAttachment(this.server, cleaned, options);
|
||||
const downloaded = await downloadAttachment(this.server, cleaned, options);
|
||||
return {
|
||||
...cleaned,
|
||||
...downloaded,
|
||||
};
|
||||
}
|
||||
|
||||
private async handleEndSession(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue