Backup support for quotes & quoted attachments
This commit is contained in:
parent
0f2b71b4a6
commit
e0dc4c412d
10 changed files with 653 additions and 289 deletions
|
@ -1073,6 +1073,13 @@ export function isDownloadableFromBackupTier(
|
|||
return false;
|
||||
}
|
||||
|
||||
export function isDownloadable(attachment: AttachmentType): boolean {
|
||||
return (
|
||||
isDownloadableFromTransitTier(attachment) ||
|
||||
isDownloadableFromBackupTier(attachment)
|
||||
);
|
||||
}
|
||||
|
||||
export function isAttachmentLocallySaved(
|
||||
attachment: AttachmentType
|
||||
): attachment is LocallySavedAttachment {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue