mirror of
https://github.com/djcb/mu.git
synced 2024-06-21 06:56:48 +02:00
* mu4e: always put images (inline or attachment) in the list of attachments
This commit is contained in:
parent
a2b57b32d2
commit
6f19449856
|
@ -374,8 +374,9 @@ is nil, and otherwise open it."
|
|||
;; numbers and the part indices
|
||||
(remove-if
|
||||
(lambda (part)
|
||||
(or
|
||||
(not (member 'attachment (plist-get part :type)))
|
||||
(or ;; remove if it's not an attachment, unless it's an image
|
||||
(and (not (member 'attachment (plist-get part :type)))
|
||||
(not (string-match "^image" (plist-get part :mime-type))))
|
||||
;;
|
||||
))
|
||||
(plist-get msg :parts)))
|
||||
|
|
Loading…
Reference in New Issue
Block a user