aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog5
-rw-r--r--mail/mail-callbacks.c2
2 files changed, 7 insertions, 0 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index c22dc62018..abbe894f2f 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,5 +1,10 @@
2001-10-10 Larry Ewing <lewing@ximian.com>
+ * mail-callbacks.c (mail_generate_reply): use new function to copy
+ the attachments from the source message. This still isn't perfect
+ but it should avoid the problems with headers being transfered.
+ This makes images in replies work again.
+
* mail-display.c (save_url): copy the data. We can't ref the byte
array and we can't free it so we have to copy it.
diff --git a/mail/mail-callbacks.c b/mail/mail-callbacks.c
index 0efbae40a5..4507156f3c 100644
--- a/mail/mail-callbacks.c
+++ b/mail/mail-callbacks.c
@@ -840,6 +840,8 @@ mail_generate_reply (CamelFolder *folder, CamelMimeMessage *message, const char
const int max_subject_length = 1024;
composer = e_msg_composer_new ();
+ e_msg_composer_add_message_attachments (composer, message);
+
if (!composer)
return NULL;