Do not try to download text attachments
This commit is contained in:
parent
0a0fabd2ca
commit
0f16ef5dd6
5 changed files with 6 additions and 7 deletions
|
@ -723,7 +723,7 @@ export function isGIF(attachments?: ReadonlyArray<AttachmentType>): boolean {
|
|||
}
|
||||
|
||||
export function isDownloaded(attachment?: AttachmentType): boolean {
|
||||
return Boolean(attachment && attachment.path);
|
||||
return Boolean(attachment && (attachment.path || attachment.textAttachment));
|
||||
}
|
||||
|
||||
export function hasNotResolved(attachment?: AttachmentType): boolean {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue