mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-03-26 08:32:44 +00:00
(fix) use PEEK when fetching attachments using ItemOperations
This commit is contained in:
@@ -1438,7 +1438,7 @@ void handle_eas_terminate(int signum)
|
||||
if ([[theResponse headerForKey: @"Content-Type"] isEqualToString:@"application/vnd.ms-sync.multipart"])
|
||||
{
|
||||
NSData *d;
|
||||
d = [currentBodyPart fetchBLOB];
|
||||
d = [currentBodyPart fetchBLOBWithPeek: YES];
|
||||
|
||||
[s appendFormat: @"<Part>%d</Part>", i+1];
|
||||
[partLength addObject: [NSNumber numberWithInteger: [d length]]];
|
||||
|
||||
Reference in New Issue
Block a user