messagingapp/msgappfw/server/src/ccsconversationcachehelper.cpp
changeset 52 12db4185673b
parent 44 36f374c67aa8
child 70 a15d9966050f
equal deleted inserted replaced
44:36f374c67aa8 52:12db4185673b
   247 void CCsConversationCacheHelper::HandleSpecialConversationL()
   247 void CCsConversationCacheHelper::HandleSpecialConversationL()
   248 {
   248 {
   249     CCsConversationEntry* conEntry =
   249     CCsConversationEntry* conEntry =
   250         iConversationEvent->ClientConversation()->GetConversationEntry();
   250         iConversationEvent->ClientConversation()->GetConversationEntry();
   251 
   251 
   252     if (ECsBlueTooth == conEntry->GetType())
   252     if (ECsBlueTooth == conEntry->GetType()|| ECsBlueTooth_VCard == conEntry->GetType()|| ECsBlueTooth_VCal == conEntry->GetType())
   253     {
   253     {
   254         AddConversationEntryL(conEntry, KBluetoothMsgsConversationId);
   254         AddConversationEntryL(conEntry, KBluetoothMsgsConversationId);
   255     }
   255     }
   256     else
   256     else
   257     {
   257     {
   288 // Drafts message with NULL contact/Bluetooth/IRDA etc
   288 // Drafts message with NULL contact/Bluetooth/IRDA etc
   289 // ----------------------------------------------------------------------------
   289 // ----------------------------------------------------------------------------
   290 TUint8 CCsConversationCacheHelper::NeedsSpecialProcessing(
   290 TUint8 CCsConversationCacheHelper::NeedsSpecialProcessing(
   291                                                           CCsConversationEntry* aConversationEntry)
   291                                                           CCsConversationEntry* aConversationEntry)
   292 {
   292 {
   293     if (ECsBlueTooth == aConversationEntry->GetType())
   293     if (ECsBlueTooth == aConversationEntry->GetType() || ECsBlueTooth_VCard == aConversationEntry->GetType() || ECsBlueTooth_VCal == aConversationEntry->GetType())
   294     {
   294     {
   295         return 1;
   295         return 1;
   296     }
   296     }
   297     return 0;
   297     return 0;
   298 }
   298 }