Do not try to download text attachments

This commit is contained in:
Josh Perez 2022-04-08 13:03:10 -04:00 committed by GitHub
parent 0a0fabd2ca
commit 0f16ef5dd6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 6 additions and 7 deletions

View file

@ -81,7 +81,7 @@ export async function queueAttachmentDownloads(
return attachment;
}
// We've already downloaded this!
if (attachment.path) {
if (attachment.path || attachment.textAttachment) {
log.info(
`Normal attachment already downloaded for message ${idForLogging}`
);