[evolution-ews] I#157 - Mail: Do not re-encode message on append
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [evolution-ews] I#157 - Mail: Do not re-encode message on append
- Date: Thu, 24 Jun 2021 14:22:36 +0000 (UTC)
commit 006a774818f668a76df4e1661ec298790f001418
Author: Milan Crha <mcrha redhat com>
Date:   Thu Jun 24 16:21:41 2021 +0200
    I#157 - Mail: Do not re-encode message on append
    
    It should not be needed, trust the message creator to use the correct
    encoding.
    
    Closes https://gitlab.gnome.org/GNOME/evolution-ews/-/issues/157
 src/EWS/common/e-ews-camel-common.c | 4 ----
 1 file changed, 4 deletions(-)
---
diff --git a/src/EWS/common/e-ews-camel-common.c b/src/EWS/common/e-ews-camel-common.c
index 9bbe33b2..16962444 100644
--- a/src/EWS/common/e-ews-camel-common.c
+++ b/src/EWS/common/e-ews-camel-common.c
@@ -139,10 +139,6 @@ create_mime_message_cb (ESoapMessage *msg,
         * to stream this directly rather than storing it in RAM. Which right
         * now we are doing about four times: the GByteArray in the mem stream,
         * then the base64 version, then the xmlDoc, then the soup request. */
-       camel_mime_message_set_best_encoding (
-               create_data->message,
-               CAMEL_BESTENC_GET_ENCODING,
-               CAMEL_BESTENC_8BIT);
 
        mem = camel_stream_mem_new ();
        filtered = camel_stream_filter_new (mem);
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]