406 CMsvEntry* cEntry = iSession.GetEntryL( aEntryId ); |
406 CMsvEntry* cEntry = iSession.GetEntryL( aEntryId ); |
407 CleanupStack::PushL( cEntry ); |
407 CleanupStack::PushL( cEntry ); |
408 |
408 |
409 TMsvEmailEntry tEntry( cEntry->Entry() ); |
409 TMsvEmailEntry tEntry( cEntry->Entry() ); |
410 TBool isModified = ChangeTEntryFlagsL( tEntry, aMessage ); |
410 TBool isModified = ChangeTEntryFlagsL( tEntry, aMessage ); |
411 |
411 // <qmail> |
412 if ( isModified ) |
412 if ( isModified ) |
413 { |
413 { |
414 // <qmail> Function called sync in Qmail |
|
415 cEntry->ChangeL( tEntry ); |
414 cEntry->ChangeL( tEntry ); |
416 // </qmail> |
|
417 } |
415 } |
418 |
416 |
419 CleanupStack::PopAndDestroy( cEntry ); |
417 CleanupStack::PopAndDestroy( cEntry ); |
|
418 // </qmail> |
420 } |
419 } |
421 |
420 |
422 // --------------------------------------------------------------------------- |
421 // --------------------------------------------------------------------------- |
423 // --------------------------------------------------------------------------- |
422 // --------------------------------------------------------------------------- |
424 CMsvOperation* CIpsPlgMsgMapper::UpdateMessageFlagsAsyncL( |
423 CMsvOperation* CIpsPlgMsgMapper::UpdateMessageFlagsAsyncL( |
1507 |
1506 |
1508 |
1507 |
1509 // --------------------------------------------------------------------------- |
1508 // --------------------------------------------------------------------------- |
1510 // --------------------------------------------------------------------------- |
1509 // --------------------------------------------------------------------------- |
1511 // <cmail> |
1510 // <cmail> |
1512 void CIpsPlgMsgMapper::SetAttachmentFlagL( const TMsvEmailEntry& aEntry, |
1511 void CIpsPlgMsgMapper::SetAttachmentFlagL( const TMsvEmailEntry& /*aEntry*/, |
1513 TBool aHasAttachment ) |
1512 TBool /*aHasAttachment*/ ) |
1514 { |
1513 { |
1515 FUNC_LOG; |
1514 FUNC_LOG; |
1516 CMsvEntry* cEntry = iSession.GetEntryL( aEntry.Id() ); |
1515 // <qmail> commented out, causing freeze in message list |
|
1516 /*CMsvEntry* cEntry = iSession.GetEntryL( aEntry.Id() ); |
1517 CleanupStack::PushL( cEntry ); |
1517 CleanupStack::PushL( cEntry ); |
1518 // Only text/calendar part included as attachment |
1518 // Only text/calendar part included as attachment |
1519 TMsvEmailEntry entryToBeChanged( aEntry ); |
1519 TMsvEmailEntry entryToBeChanged( aEntry ); |
1520 entryToBeChanged.SetAttachment( aHasAttachment ); |
1520 entryToBeChanged.SetAttachment( aHasAttachment ); |
1521 |
1521 |
1522 // <qmail> Function called sync in Qmail |
|
1523 cEntry->ChangeL( entryToBeChanged ); |
1522 cEntry->ChangeL( entryToBeChanged ); |
1524 CleanupStack::PopAndDestroy( cEntry ); |
1523 CleanupStack::PopAndDestroy( cEntry );*/ |
1525 // </qmail> |
1524 // </qmail> |
1526 } |
1525 } |
1527 // </cmail> |
|
1528 |
|
1529 // <cmail> |
|
1530 // --------------------------------------------------------------------------- |
1526 // --------------------------------------------------------------------------- |
1531 // --------------------------------------------------------------------------- |
1527 // --------------------------------------------------------------------------- |
1532 void CIpsPlgMsgMapper::GetCharsetParameterL( |
1528 void CIpsPlgMsgMapper::GetCharsetParameterL( |
1533 const TMsvEmailEntry& aEntry, TDes& aContentType ) |
1529 const TMsvEmailEntry& aEntry, TDes& aContentType ) |
1534 { |
1530 { |