Accept Note attachments of type Image

This commit is contained in:
silverpill 2022-01-17 11:28:44 +00:00
parent 59a86ea827
commit 269318da76

View file

@ -226,7 +226,9 @@ pub async fn process_note(
let mut downloaded = vec![];
let output_dir = config.media_dir();
for attachment in list {
if attachment.attachment_type != DOCUMENT {
if attachment.attachment_type != DOCUMENT &&
attachment.attachment_type != IMAGE
{
log::warn!(
"skipping attachment of type {}",
attachment.attachment_type,