messagingapp/msgappfw/server/src/ccsconversationcachehelper.cpp
changeset 41 25fe1fe642e3
parent 37 518b245aa84c
child 56 f42d9a78f435
equal deleted inserted replaced
40:224522e33db9 41:25fe1fe642e3
   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 }