messagingapp/msgappfw/server/src/ccsconversationcachehelper.cpp
changeset 56 f42d9a78f435
parent 41 25fe1fe642e3
equal deleted inserted replaced
55:5b3b2fa8c3ec 56:f42d9a78f435
   572     // add the conversation entry
   572     // add the conversation entry
   573     conversation->AddEntryL(aConversationEntry);
   573     conversation->AddEntryL(aConversationEntry);
   574 
   574 
   575     // fill firstname and lastname and contact Id
   575     // fill firstname and lastname and contact Id
   576     if(aDisplayName)
   576     if(aDisplayName)
       
   577     {
   577    		conversation->AddContactDetailsL(aContactId,
   578    		conversation->AddContactDetailsL(aContactId,
   578                                      aDisplayName);
   579                                      aDisplayName);
   579 
   580     }
   580     // fill the phone number
   581 
       
   582     // fill the phone number and contact Id
   581     if (aConversationEntry->Contact())
   583     if (aConversationEntry->Contact())
   582     {
   584     {
   583         conversation->AddContactDetailsL(* (aConversationEntry->Contact()));
   585         conversation->AddContactDetailsL(* (aConversationEntry->Contact()), aContactId);
   584     }
   586     }
   585 
   587 
   586     // add into the list
   588     // add into the list
   587     iConversationCache->ConversationList()->AppendL(conversation);
   589     iConversationCache->ConversationList()->AppendL(conversation);
   588 
   590