diff options
author | Arun Isaac <arunisaac@systemreboot.net> | 2019-01-27 16:25:29 +0530 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2019-01-27 12:55:43 +0100 |
commit | f5842671711c5c702f9da23c695f9a7eb068e553 (patch) | |
tree | a86024bd12c50e299ce252a83b57a6924f4e895d | |
parent | a38180dd48735f9c86838ea5bfbc706dd5380023 (diff) |
Present download links for single part messages.
* mumi/web/view/utils.scm (display-message-body): Pass single part
messages through the same display-mime-entity function so that
download links are presented for them too.
-rw-r--r-- | mumi/web/view/utils.scm | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/mumi/web/view/utils.scm b/mumi/web/view/utils.scm index 2c58467..bb45a33 100644 --- a/mumi/web/view/utils.scm +++ b/mumi/web/view/utils.scm @@ -1,6 +1,6 @@ ;;; mumi -- Mediocre, uh, mail interface ;;; Copyright © 2017, 2018 Ricardo Wurmus <rekado@elephly.net> -;;; Copyright © 2018 Arun Isaac <arunisaac@systemreboot.net> +;;; Copyright © 2018, 2019 Arun Isaac <arunisaac@systemreboot.net> ;;; ;;; This program is free software: you can redistribute it and/or ;;; modify it under the terms of the GNU Affero General Public License @@ -167,4 +167,7 @@ BUG-NUM), even when it is a multipart message." (iota (length parts))))) ;; Regular message with a simple body. (else - (prettify (email-body message))))) + (display-mime-entity + (make-mime-entity (email-headers message) + (email-body message)))))) + |