mirror of
https://github.com/djcb/mu.git
synced 2024-06-20 06:46:50 +02:00
mu4e-mime-parts: use mm-handle-filename
So we get filenames in some cases we were missing
This commit is contained in:
parent
253b44043b
commit
ab96211799
|
@ -101,8 +101,7 @@ There are some internal fields as well, e.g. ; subject to change:
|
|||
(index (get-text-property (point) 'gnus-part)))
|
||||
(when (and part (numberp index) (not (member index indices)))
|
||||
(let* ((disp (mm-handle-disposition part))
|
||||
(fname (cdr-safe
|
||||
(and disp (assoc 'filename (cdr disp)))))
|
||||
(fname (mm-handle-filename part))
|
||||
(mime-type (mm-handle-media-type part))
|
||||
(info
|
||||
`(:part-index ,index
|
||||
|
|
Loading…
Reference in New Issue
Block a user