]> git.eshelyaron.com Git - emacs.git/commitdiff
Ensure that we get an X-Draft-From headers
authorAdam Sjøgren <asjo@koldfront.dk>
Mon, 26 Apr 2021 23:17:57 +0000 (01:17 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Mon, 26 Apr 2021 23:18:07 +0000 (01:18 +0200)
* lisp/gnus/gnus-msg.el (gnus-setup-message): Ensure that we get an
X-Draft-From headers (bug#48049).

lisp/gnus/gnus-msg.el

index f1181d4091073dc46d6e7538009cc144f079bf22..bac987e2f008c9a7e87d4d59834680c5f539d572 100644 (file)
@@ -415,11 +415,12 @@ only affect the Gcc copy, but not the original message."
                             gnus-article-reply)))
           (,oarticle gnus-article-reply)
           (,yanked gnus-article-yanked-articles)
-          (,group (when gnus-article-reply
-                    (or (nnselect-article-group
-                         (or (car-safe gnus-article-reply)
-                             gnus-article-reply))
-                        gnus-newsgroup-name)))
+           (,group (if gnus-article-reply
+                      (or (nnselect-article-group
+                           (or (car-safe gnus-article-reply)
+                               gnus-article-reply))
+                           gnus-newsgroup-name)
+                     gnus-newsgroup-name))
           (message-header-setup-hook
            (copy-sequence message-header-setup-hook))
           (mbl mml-buffer-list)