equal
deleted
inserted
replaced
497 TUid aMtmUid, |
497 TUid aMtmUid, |
498 const CMessageData& aMessageData, |
498 const CMessageData& aMessageData, |
499 TInt aAttachmentCount ) |
499 TInt aAttachmentCount ) |
500 { |
500 { |
501 LOGTEXT(_L8("CGenericMtmPlugin::IsWaitNoteNeededL >>")); |
501 LOGTEXT(_L8("CGenericMtmPlugin::IsWaitNoteNeededL >>")); |
502 if ( aMtmUid != KSenduiMtmIrUid && aMtmUid != KSenduiMtmBtUid ) |
502 |
503 { |
|
504 return ETrue; |
|
505 } |
|
506 |
503 |
507 const CRichText* bodyText = aMessageData.BodyText(); |
504 const CRichText* bodyText = aMessageData.BodyText(); |
508 const CMessageAddressArray& toAddresses = aMessageData.ToAddressArray(); |
505 const CMessageAddressArray& toAddresses = aMessageData.ToAddressArray(); |
509 |
506 |
510 if ( aAttachmentCount > 0 || |
507 if ( aAttachmentCount > 0 || |
511 ( bodyText && bodyText->DocumentLength() ) || |
508 ( bodyText && bodyText->DocumentLength() ) ) |
512 ( toAddresses.Count() > 2 ) ) |
|
513 { |
509 { |
514 LOGTEXT(_L8("CGenericMtmPlugin::IsWaitNoteNeededL <<")); |
510 LOGTEXT(_L8("CGenericMtmPlugin::IsWaitNoteNeededL <<")); |
515 return ETrue; |
511 return ETrue; |
516 } |
512 } |
517 |
513 |