mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-16 17:24:23 +00:00
Re-encode message bodies with externalized attachments during FCC
Bug#70338 * lisp/gnus/message.el (message-do-fcc): If the user has requested to externalize attachments, we can't use the cached version of the message body from sending. This mirrors an equivalent check for GCC in `gnus-inews-do-gcc'.
This commit is contained in:
parent
21e33567fa
commit
3dfca6f9c7
1 changed files with 4 additions and 2 deletions
|
|
@ -5768,8 +5768,10 @@ The result is a fixnum."
|
|||
(with-temp-buffer
|
||||
(insert-buffer-substring buf)
|
||||
(message-clone-locals buf)
|
||||
;; Avoid re-doing things like GPG-encoding secret parts.
|
||||
(if (not encoded-cache)
|
||||
;; Avoid re-doing things like GPG-encoding secret parts, unless
|
||||
;; the user has requested that attachments be externalized, in
|
||||
;; which case we have to re-encode the message body.
|
||||
(if (or mml-externalize-attachments (not encoded-cache))
|
||||
(message-encode-message-body)
|
||||
(erase-buffer)
|
||||
(insert encoded-cache))
|
||||
|
|
|
|||
Loading…
Reference in a new issue