aboutsummaryrefslogtreecommitdiffstats
path: root/em-format
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2009-11-06 03:52:15 +0800
committerMilan Crha <mcrha@redhat.com>2009-11-06 03:52:15 +0800
commit4fd8fbc29a32a2d91b75599f24f49f66002ddb8f (patch)
tree14d7362b38c40af4568e3b648cded918c1bb61b8 /em-format
parentc46630b0d54a31c9b27ed728f2c39283f1eef786 (diff)
downloadgsoc2013-evolution-4fd8fbc29a32a2d91b75599f24f49f66002ddb8f.tar
gsoc2013-evolution-4fd8fbc29a32a2d91b75599f24f49f66002ddb8f.tar.gz
gsoc2013-evolution-4fd8fbc29a32a2d91b75599f24f49f66002ddb8f.tar.bz2
gsoc2013-evolution-4fd8fbc29a32a2d91b75599f24f49f66002ddb8f.tar.lz
gsoc2013-evolution-4fd8fbc29a32a2d91b75599f24f49f66002ddb8f.tar.xz
gsoc2013-evolution-4fd8fbc29a32a2d91b75599f24f49f66002ddb8f.tar.zst
gsoc2013-evolution-4fd8fbc29a32a2d91b75599f24f49f66002ddb8f.zip
Bug #573304 - Forward an email shouldn't strip signature
Diffstat (limited to 'em-format')
-rw-r--r--em-format/em-format-quote.c2
-rw-r--r--em-format/em-format-quote.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/em-format/em-format-quote.c b/em-format/em-format-quote.c
index 05fefa02e6..1da4fbec30 100644
--- a/em-format/em-format-quote.c
+++ b/em-format/em-format-quote.c
@@ -509,7 +509,7 @@ emfq_text_plain(EMFormatQuote *emfq, CamelStream *stream, CamelMimePart *part, E
filtered_stream = camel_stream_filter_new_with_stream(stream);
- if (emfq->flags != 0) {
+ if ((emfq->flags & EM_FORMAT_QUOTE_KEEP_SIG) == 0) {
sig_strip = em_stripsig_filter_new ();
camel_stream_filter_add (filtered_stream, sig_strip);
camel_object_unref (sig_strip);
diff --git a/em-format/em-format-quote.h b/em-format/em-format-quote.h
index 5b010e1da5..afc3675461 100644
--- a/em-format/em-format-quote.h
+++ b/em-format/em-format-quote.h
@@ -47,6 +47,7 @@
#define EM_FORMAT_QUOTE_CITE (1<<0)
#define EM_FORMAT_QUOTE_HEADERS (1<<1)
+#define EM_FORMAT_QUOTE_KEEP_SIG (1<<2) /* do not strip signature */
G_BEGIN_DECLS