mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-21 03:15:25 +00:00
Monotone-Parent: f5f2ee70c2acc45239a32d38bf99d6078e2dbe39
Monotone-Revision: 8a338c5caf581e45823828957eefcbd38abd2ee7 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2010-12-30T14:27:53 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -468,7 +468,11 @@ sogo_op_openmessage(void *private_data,
|
||||
context = cContext->objcContext;
|
||||
[context setupRequest];
|
||||
|
||||
if (!context)
|
||||
DEBUG (5, (" context data is empty, failure ahead..."));
|
||||
rc = [context openMessage: msg withMID: mid inFID: fid];
|
||||
if (rc)
|
||||
DEBUG (5, (" failure opening message\n"));
|
||||
|
||||
[context tearDownRequest];
|
||||
[pool release];
|
||||
@@ -480,7 +484,8 @@ sogo_op_openmessage(void *private_data,
|
||||
static int
|
||||
sogo_op_createmessage(void *private_data,
|
||||
uint64_t fid,
|
||||
uint64_t mid)
|
||||
uint64_t mid,
|
||||
uint8_t associated)
|
||||
{
|
||||
NSAutoreleasePool *pool;
|
||||
sogo_context *cContext;
|
||||
@@ -495,7 +500,8 @@ sogo_op_createmessage(void *private_data,
|
||||
context = cContext->objcContext;
|
||||
[context setupRequest];
|
||||
|
||||
rc = [context createMessagePropertiesWithMID: mid inFID: fid];
|
||||
rc = [context createMessagePropertiesWithMID: mid inFID: fid
|
||||
isAssociated: associated];
|
||||
|
||||
[context tearDownRequest];
|
||||
[pool release];
|
||||
@@ -577,7 +583,8 @@ sogo_op_getprops(void *private_data,
|
||||
|
||||
rc = [context getProperties: SPropTagArray
|
||||
ofTableType: type
|
||||
inRow: aRow withMID: fmid];
|
||||
inRow: aRow
|
||||
withMID: fmid];
|
||||
|
||||
[context tearDownRequest];
|
||||
[pool release];
|
||||
|
||||
Reference in New Issue
Block a user