Fix broken templates attachments due to commit 814b087,
authorwwp <wwp@free.fr>
Tue, 3 Apr 2018 08:17:58 +0000 (10:17 +0200)
committerwwp <wwp@free.fr>
Tue, 3 Apr 2018 08:17:58 +0000 (10:17 +0200)
commite9ddc1bd3b04aca4d1803014fa6ac9af43480715
treebc5273e8e6833202c81903162ce65a41ab501fdc
parentd9dab228c06ce2b968ecee7dcccd4d2cc494935c
Fix broken templates attachments due to commit 814b087,
which clears template internals (including attachments list)
wherever template contains any field to apply (To/Subject/etc.)
and before attachments could be processed. Simply process
attachments before attachments list may be cleared by fields
processing. Ideally we should change quote_fmt_reset_vartable()
or its uses in compose.c at least.
src/compose.c