[PATCH 09/10] Set bs message header as cached after retrieving it with bodies.



---
 .../tny-camel-bs-msg-receive-strategy.c            |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/libtinymail-camel/tny-camel-bs-msg-receive-strategy.c b/libtinymail-camel/tny-camel-bs-msg-receive-strategy.c
index b45c343..1f1374b 100644
--- a/libtinymail-camel/tny-camel-bs-msg-receive-strategy.c
+++ b/libtinymail-camel/tny-camel-bs-msg-receive-strategy.c
@@ -183,6 +183,7 @@ tny_camel_bs_msg_receive_strategy_perform_get_msg_default (TnyMsgReceiveStrategy
 				return NULL;
 			}
 		}
+		tny_header_set_flag (TNY_HEADER (header), TNY_HEADER_FLAG_CACHED);
 	} else
 		message = NULL;
 
-- 
1.6.3.3


--=-gnkDh763C8UIUYIzLd8x
Content-Disposition: attachment; filename*0=0010-Fix-error-saving-allow-external-image-flag-in-bs-msg.pat; filename*1=ch
Content-Type: text/x-patch; name="0010-Fix-error-saving-allow-external-image-flag-in-bs-msg.patch"; charset="UTF-8"
Content-Transfer-Encoding: 7bit



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]