summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mumi/web/view/utils.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/mumi/web/view/utils.scm b/mumi/web/view/utils.scm
index 584b9a9..bdecc14 100644
--- a/mumi/web/view/utils.scm
+++ b/mumi/web/view/utils.scm
@@ -124,7 +124,8 @@ BUG-NUM), even when it is a multipart message."
content-type
(assoc-ref content-type 'type)))
(binary-attachment? (and attachment?
- (eq? (assoc-ref content-type 'type) 'application)))
+ (member (assoc-ref content-type 'type)
+ '(application image))))
(attachment-name
(or (and=> (assoc-ref headers 'content-disposition)
(cut assoc-ref <> 'filename))