Monotone-Parent: a627928e5439c333efd9a1bda334f534a91c3a30
Monotone-Revision: fb5c07bbc778bf76fbbad3504f7d0d3af398045b Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2012-08-07T12:59:49 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
parent
89865b66db
commit
c9a9d83e82
|
@ -1,3 +1,8 @@
|
|||
2012-08-07 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* OpenChange/MAPIStoreMailVolatileMessage.m (-save): restored
|
||||
registration of message url when saved.
|
||||
|
||||
2012-08-06 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* OpenChange/MAPIStoreRecurrenceUtils.m (-[iCalRecurrenceRule
|
||||
|
|
|
@ -921,8 +921,9 @@ MakeMessageBody (NSDictionary *mailProperties, NSDictionary *attachmentParts, NS
|
|||
NGImap4Client *client;
|
||||
SOGoMailFolder *containerFolder;
|
||||
NSDictionary *result, *responseResult;
|
||||
// MAPIStoreMapping *mapping;
|
||||
// uint64_t mid;
|
||||
MAPIStoreMapping *mapping;
|
||||
uint64_t mid;
|
||||
BOOL registerAgain;
|
||||
|
||||
messageData = [self _generateMailDataWithBcc: YES];
|
||||
|
||||
|
@ -939,16 +940,17 @@ MakeMessageBody (NSDictionary *mailProperties, NSDictionary *attachmentParts, NS
|
|||
responseResult = [[result objectForKey: @"RawResponse"]
|
||||
objectForKey: @"ResponseResult"];
|
||||
flag = [responseResult objectForKey: @"flag"];
|
||||
|
||||
newIdString = [[flag componentsSeparatedByString: @" "]
|
||||
objectAtIndex: 2];
|
||||
// mid = [self objectId];
|
||||
// mapping = [self mapping];
|
||||
// [mapping unregisterURLWithID: mid];
|
||||
mapping = [self mapping];
|
||||
mid = [self objectId];
|
||||
[mapping unregisterURLWithID: mid];
|
||||
// [sogoObject setNameInContainer: ];
|
||||
|
||||
messageKey = [NSString stringWithFormat: @"%@.eml", newIdString];
|
||||
// [mapping registerURL: [NSString stringWithFormat: @"%@%@",
|
||||
// [(MAPIStoreMailFolder *) container url], messageKey]
|
||||
// withID: mid];
|
||||
[sogoObject setNameInContainer: messageKey];
|
||||
[mapping registerURL: [self url] withID: mid];
|
||||
|
||||
/* synchronise the cache and update the change key with the one provided
|
||||
by the client */
|
||||
|
|
Loading…
Reference in a new issue