projects
/
modest
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* Fixes NB#87102, add the signature to the forwarded mails that include the original...
[modest]
/
src
/
modest-formatter.c
diff --git
a/src/modest-formatter.c
b/src/modest-formatter.c
index
8eb4c75
..
f2ecfd9
100644
(file)
--- a/
src/modest-formatter.c
+++ b/
src/modest-formatter.c
@@
-177,6
+177,7
@@
modest_formatter_attach (ModestFormatter *self, TnyMsg *msg, TnyHeader *header)
TnyMsg *new_msg = NULL;
TnyMimePart *body_part = NULL;
ModestFormatterPrivate *priv;
TnyMsg *new_msg = NULL;
TnyMimePart *body_part = NULL;
ModestFormatterPrivate *priv;
+ gchar *txt;
/* Build new part */
new_msg = modest_formatter_create_message (self, TRUE, TRUE, FALSE);
/* Build new part */
new_msg = modest_formatter_create_message (self, TRUE, TRUE, FALSE);
@@
-184,7
+185,10
@@
modest_formatter_attach (ModestFormatter *self, TnyMsg *msg, TnyHeader *header)
/* Create the two parts */
priv = MODEST_FORMATTER_GET_PRIVATE (self);
/* Create the two parts */
priv = MODEST_FORMATTER_GET_PRIVATE (self);
- construct_from_text (body_part, "", priv->content_type);
+ txt = modest_text_utils_cite ("", priv->content_type, priv->signature,
+ NULL, tny_header_get_date_sent (header));
+ construct_from_text (body_part, txt, priv->content_type);
+ g_free (txt);
g_object_unref (body_part);
if (msg) {
g_object_unref (body_part);
if (msg) {