--- a/messagingapp/msgappfw/server/src/ccsconversationcachehelper.cpp Wed Jun 23 18:09:17 2010 +0300
+++ b/messagingapp/msgappfw/server/src/ccsconversationcachehelper.cpp Tue Jul 06 14:12:40 2010 +0300
@@ -523,13 +523,17 @@
}
// Notify client of conversation change
- CCsClientConversation
- * clientConv =
- iConversationCache->CreateClientConvLC(conversation,
- aConversationEntry);
- iConversationCache->NotifyL(clientConv,
- KConversationEventDelete);
- CleanupStack::PopAndDestroy(clientConv);
+ if (!conversation->IsDeleted())
+ {
+ CCsClientConversation
+ * clientConv =
+ iConversationCache->CreateClientConvLC(conversation,
+ aConversationEntry);
+ iConversationCache->NotifyL(clientConv,
+ KConversationEventDelete);
+ CleanupStack::PopAndDestroy(clientConv);
+ }
+
// check if all entries are deleted then
// delete the conversation from cache
if (conversation->GetEntryCount() == 0