imservices/instantmessagingcache/imcacheserver/src/cimcachesession.cpp
branchRCL_3
changeset 25 cfe5eb8bb9ca
parent 2 89455bbf90d8
child 38 2ca0d29c17c4
equal deleted inserted replaced
20:7797b2f86d2b 25:cfe5eb8bb9ca
   558 void CIMCacheSession::SendUnreadChangeNotificationL( MIMCacheMessageHeader* aMsgHeader, 
   558 void CIMCacheSession::SendUnreadChangeNotificationL( MIMCacheMessageHeader* aMsgHeader, 
   559 												 	CIMCacheMessageBase* aMessage )	
   559 												 	CIMCacheMessageBase* aMessage )	
   560 	{
   560 	{
   561 	// write the message into continuous memory stream
   561 	// write the message into continuous memory stream
   562 	if( iAccessorInitialized  || 
   562 	if( iAccessorInitialized  || 
   563 		iConvesationInitialized && aMsgHeader->IsChatStarted() )
   563 		iConvesationInitialized /*&& aMsgHeader->IsChatStarted()*/ )
   564 		{
   564 		{
   565 		ExternalizeSingleChatDataL(EIMOperationUnreadMessage, aMsgHeader, aMessage );
   565 		ExternalizeSingleChatDataL(EIMOperationUnreadMessage, aMsgHeader, aMessage );
   566 		if( iObserverActive )
   566 		if( iObserverActive )
   567 			{
   567 			{
   568 			iObserverMessage.Complete( EIMOperationUnreadMessage );
   568 			iObserverMessage.Complete( EIMOperationUnreadMessage );