mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-21 03:15:25 +00:00
fix(mail(dav)): add support for property {DAV:}getcontentlength
This commit is contained in:
@@ -1776,6 +1776,8 @@ static NSInteger _compareFetchResultsByUID (id entry1, id entry2, NSArray *uids)
|
||||
forKey: @"{urn:schemas:mailheader:}references"];
|
||||
[davIMAPFieldsTable setObject: @"BODY[HEADER.FIELDS (SUBJECT)]"
|
||||
forKey: @"{DAV:}displayname"];
|
||||
[davIMAPFieldsTable setObject: @"RFC822.SIZE"
|
||||
forKey: @"{DAV:}getcontentlength"];
|
||||
[davIMAPFieldsTable setObject: @"BODY[HEADER.FIELDS (TO)]"
|
||||
forKey: @"{urn:schemas:mailheader:}to"];
|
||||
}
|
||||
|
||||
@@ -1273,7 +1273,7 @@ static BOOL debugSoParts = NO;
|
||||
|
||||
- (NSString *) davContentLength
|
||||
{
|
||||
return [[self fetchCoreInfos] valueForKey: @"size"];
|
||||
return [NSString stringWithFormat: @"%@", [[self fetchCoreInfos] valueForKey: @"size"]];
|
||||
}
|
||||
|
||||
- (NSDate *) davCreationDate
|
||||
|
||||
Reference in New Issue
Block a user