Monotone-Parent: 047b040e318a98223980da2af8241b7eb6d75341

Monotone-Revision: 2fea5fbc833aa109f5048dda8ddd9884c91385e1

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-08-13T03:56:16
Monotone-Branch: ca.inverse.sogo
maint-2.0.2
Wolfgang Sourdeau 2012-08-13 03:56:16 +00:00
parent e146ba68e6
commit 9b5e7360d0
2 changed files with 9 additions and 1 deletions

View File

@ -1,5 +1,8 @@
2012-08-12 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* OpenChange/MAPIStoreFolder.m (-objectId): folder keys always end
with a "/" by convention.
* OpenChange/MAPIStoreMapping.m (-updateID:withURL:): new method
that perform a change of url on container and leaf entries.

View File

@ -1656,9 +1656,14 @@ Class NSExceptionK, MAPIStoreFAIMessageK, MAPIStoreMessageTableK, MAPIStoreFAIMe
- (uint64_t) objectId
{
uint64_t objectId;
NSString *folderKey;
if (container)
objectId = [super objectId];
{
folderKey = [NSString stringWithFormat: @"%@/",
[sogoObject nameInContainer]];
objectId = [container idForObjectWithKey: folderKey];
}
else
objectId = [self idForObjectWithKey: nil];