]> granicus.if.org Git - mutt/commitdiff
The limitations for OP_MAIL and OP_RECALL should be identical.
authorThomas Roessler <roessler@does-not-exist.org>
Mon, 12 Jul 2004 13:35:27 +0000 (13:35 +0000)
committerThomas Roessler <roessler@does-not-exist.org>
Mon, 12 Jul 2004 13:35:27 +0000 (13:35 +0000)
pager.c

diff --git a/pager.c b/pager.c
index ef7c1f86b99e597f4312b3759e1113294e716096..a73842fd1bd86a0a2a871dba7eb923d1edb97e57 100644 (file)
--- a/pager.c
+++ b/pager.c
@@ -2400,7 +2400,7 @@ CHECK_IMAP_ACL(IMAP_ACL_WRITE);
        break;
 
       case OP_RECALL_MESSAGE:
-       CHECK_MODE(IsHeader (extra));
+       CHECK_MODE(IsHeader (extra) && !IsAttach(extra));
         CHECK_ATTACH;
        ci_send_message (SENDPOSTPONED, NULL, NULL, extra->ctx, extra->hdr);
        redraw = REDRAW_FULL;