From 33583ea872b210abe89688fa694b76d9023e187a Mon Sep 17 00:00:00 2001 From: Ludovic Marcotte Date: Tue, 29 Mar 2016 11:37:40 -0400 Subject: [PATCH] (fix) use PEEK when archiving messages (fixes #2792) --- SoObjects/Mailer/SOGoMailFolder.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SoObjects/Mailer/SOGoMailFolder.m b/SoObjects/Mailer/SOGoMailFolder.m index 072f9041e..59df2f8d4 100644 --- a/SoObjects/Mailer/SOGoMailFolder.m +++ b/SoObjects/Mailer/SOGoMailFolder.m @@ -562,7 +562,7 @@ _compareFetchResultsByMODSEQ (id entry1, id entry2, void *data) [zipTaskArguments addObject: @"SavedMessages.zip"]; msgs = (NSDictionary *)[self fetchUIDs: uids - parts: [NSArray arrayWithObject: @"RFC822"]]; + parts: [NSArray arrayWithObject: @"BODY.PEEK[]"]]; messages = [msgs objectForKey: @"fetch"]; for (i = 0; i < [messages count]; i++) {