mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-06-10 21:09:50 +00:00
Monotone-Parent: 52ae1dc5cf6c40b252808bb7d1ec3f07b9c076a3
Monotone-Revision: 0274436d9ec9782dc91d65ff2c4760f006d2ca04 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2011-06-06T21:58:46 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -739,7 +739,8 @@ _prepareContextClass (struct mapistore_context *newMemCtx,
|
||||
notif_parameters->new_message_count = true;
|
||||
notif_parameters->message_count = [[folder messageKeys] count] + 1;
|
||||
}
|
||||
mapistore_push_notification (MAPISTORE_FOLDER,
|
||||
mapistore_push_notification (connInfo->mstore_ctx,
|
||||
MAPISTORE_FOLDER,
|
||||
MAPISTORE_OBJECT_MODIFIED,
|
||||
notif_parameters);
|
||||
|
||||
@@ -753,7 +754,8 @@ _prepareContextClass (struct mapistore_context *newMemCtx,
|
||||
notif_parameters->folder_id = folderId;
|
||||
|
||||
notif_parameters->tag_count = 0xffff;
|
||||
mapistore_push_notification (MAPISTORE_MESSAGE,
|
||||
mapistore_push_notification (connInfo->mstore_ctx,
|
||||
MAPISTORE_MESSAGE,
|
||||
MAPISTORE_OBJECT_CREATED,
|
||||
notif_parameters);
|
||||
talloc_free (notif_parameters);
|
||||
@@ -908,7 +910,7 @@ _prepareContextClass (struct mapistore_context *newMemCtx,
|
||||
asUnicodeInMemCtx: memCtx];
|
||||
[self logWithFormat: @"found path '%s' for fmid %.16x",
|
||||
*path, fmid];
|
||||
rc = MAPISTORE_SUCCESS;
|
||||
rc = MAPI_E_SUCCESS;
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -1176,7 +1178,8 @@ _prepareContextClass (struct mapistore_context *newMemCtx,
|
||||
notif_parameters->new_message_count = true;
|
||||
notif_parameters->message_count = [[folder messageKeys]
|
||||
count] - 1;
|
||||
mapistore_push_notification (MAPISTORE_FOLDER,
|
||||
mapistore_push_notification (connInfo->mstore_ctx,
|
||||
MAPISTORE_FOLDER,
|
||||
MAPISTORE_OBJECT_MODIFIED,
|
||||
notif_parameters);
|
||||
talloc_free(notif_parameters);
|
||||
@@ -1188,7 +1191,8 @@ _prepareContextClass (struct mapistore_context *newMemCtx,
|
||||
notif_parameters->object_id = mid;
|
||||
notif_parameters->folder_id = fid;
|
||||
/* Exchange sends a fnevObjectCreated!! */
|
||||
mapistore_push_notification (MAPISTORE_MESSAGE,
|
||||
mapistore_push_notification (connInfo->mstore_ctx,
|
||||
MAPISTORE_MESSAGE,
|
||||
MAPISTORE_OBJECT_CREATED,
|
||||
notif_parameters);
|
||||
talloc_free(notif_parameters);
|
||||
|
||||
Reference in New Issue
Block a user