mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-03-21 22:32:45 +00:00
Monotone-Parent: cac2cd04f2f5027f49a937745510d92fa557a762
Monotone-Revision: ec3d19f268090d56a33692cdc116485c488fd4d6 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2011-07-28T00:52:38 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -266,6 +266,28 @@ _compareBodyKeysByPriority (id entry1, id entry2, void *data)
|
||||
return appointmentWrapper;
|
||||
}
|
||||
|
||||
- (uint64_t) objectVersion
|
||||
{
|
||||
uint64_t version = 0xffffffffffffffffLL;
|
||||
NSNumber *uid, *changeNumber;
|
||||
|
||||
uid = [(MAPIStoreMailFolder *)
|
||||
container messageUIDFromMessageKey: [self nameInContainer]];
|
||||
if (uid)
|
||||
{
|
||||
changeNumber = [(MAPIStoreMailFolder *)
|
||||
container changeNumberForMessageUID: uid];
|
||||
if (changeNumber)
|
||||
version = [changeNumber unsignedLongLongValue] >> 16;
|
||||
else
|
||||
abort ();
|
||||
}
|
||||
else
|
||||
abort ();
|
||||
|
||||
return version;
|
||||
}
|
||||
|
||||
- (int) getPrIconIndex: (void **) data
|
||||
inMemCtx: (TALLOC_CTX *) memCtx
|
||||
{
|
||||
@@ -1135,8 +1157,8 @@ _compareBodyKeysByPriority (id entry1, id entry2, void *data)
|
||||
}
|
||||
}
|
||||
|
||||
- (NSArray *) attachmentsKeysMatchingQualifier: (EOQualifier *) qualifier
|
||||
andSortOrderings: (NSArray *) sortOrderings
|
||||
- (NSArray *) attachmentKeysMatchingQualifier: (EOQualifier *) qualifier
|
||||
andSortOrderings: (NSArray *) sortOrderings
|
||||
{
|
||||
[self _fetchAttachmentPartsInBodyInfo: [sogoObject bodyStructure]
|
||||
withPrefix: @""];
|
||||
|
||||
Reference in New Issue
Block a user