summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2020-05-13 11:58:46 +0200
committerRicardo Wurmus <rekado@elephly.net>2020-05-13 11:58:46 +0200
commit2fffa874d0eeaa5568383d5b89e13b097d609408 (patch)
tree776d755bcc7824f821551414e2ad3d0cd6b6ad2d
parent3079bac84fffb0745b09881936dd51e34b6b5d5b (diff)
view/utils: Do not display video attachments.
-rw-r--r--mumi/web/view/utils.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/mumi/web/view/utils.scm b/mumi/web/view/utils.scm
index 0735bf5..46dcf65 100644
--- a/mumi/web/view/utils.scm
+++ b/mumi/web/view/utils.scm
@@ -235,7 +235,7 @@ BUG-NUM), even when it is a multipart message."
(assoc-ref content-type 'type)))
(binary-attachment? (and attachment?
(member (assoc-ref content-type 'type)
- '(application image))))
+ '(application image video))))
(attachment-name
(or (and=> (assoc-ref headers 'content-disposition)
(cut assoc-ref <> 'filename))