Monotone-Parent: 047b040e318a98223980da2af8241b7eb6d75341
Monotone-Revision: 2fea5fbc833aa109f5048dda8ddd9884c91385e1 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2012-08-13T03:56:16 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
parent
e146ba68e6
commit
9b5e7360d0
|
@ -1,5 +1,8 @@
|
||||||
2012-08-12 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
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
|
* OpenChange/MAPIStoreMapping.m (-updateID:withURL:): new method
|
||||||
that perform a change of url on container and leaf entries.
|
that perform a change of url on container and leaf entries.
|
||||||
|
|
||||||
|
|
|
@ -1656,9 +1656,14 @@ Class NSExceptionK, MAPIStoreFAIMessageK, MAPIStoreMessageTableK, MAPIStoreFAIMe
|
||||||
- (uint64_t) objectId
|
- (uint64_t) objectId
|
||||||
{
|
{
|
||||||
uint64_t objectId;
|
uint64_t objectId;
|
||||||
|
NSString *folderKey;
|
||||||
|
|
||||||
if (container)
|
if (container)
|
||||||
objectId = [super objectId];
|
{
|
||||||
|
folderKey = [NSString stringWithFormat: @"%@/",
|
||||||
|
[sogoObject nameInContainer]];
|
||||||
|
objectId = [container idForObjectWithKey: folderKey];
|
||||||
|
}
|
||||||
else
|
else
|
||||||
objectId = [self idForObjectWithKey: nil];
|
objectId = [self idForObjectWithKey: nil];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue