--- a/ipsservices/ipssosplugin/src/ipsplgpop3plugin.cpp Fri May 28 13:56:43 2010 +0300
+++ b/ipsservices/ipssosplugin/src/ipsplgpop3plugin.cpp Thu Jun 10 16:14:05 2010 +0300
@@ -138,7 +138,8 @@
void CIpsPlgPop3Plugin::RefreshNowL(
const TFSMailMsgId& aMailBoxId,
MFSMailRequestObserver& aOperationObserver,
- TInt aRequestId )
+ TInt aRequestId,
+ const TBool /*aSilentConnection*/ )
{
FUNC_LOG;
TMsvId service = aMailBoxId.Id();
@@ -188,10 +189,8 @@
iOperations.AppendL( watcher );
CleanupStack::Pop( watcher ); // >> watcher
-//<qmail>
// send part of refresh
- //EmptyOutboxL( aMailBoxId ); // not used in qmail yet
-//</qmail>
+ EmptyOutboxL( aMailBoxId );
}
// ---------------------------------------------------------------------------
@@ -273,14 +272,13 @@
if( aFolderType==EFSInbox )
{
- //in case of pop3, mailbox id == service id == inbox id
- CMsvEntry* cEntry = iSession->GetEntryL( aMailBoxId.Id() );
- CleanupStack::PushL( cEntry );
- if ( cEntry->Count() != 0 )
- {
- result.SetId( aMailBoxId.Id() );
- }
- CleanupStack::PopAndDestroy( cEntry );
+ //<qmail> removed CMsvEntry conversion
+
+ // In case of pop3, mailbox id == service id == inbox id,
+ // so no need to create CMsvEntry from mailbox id to
+ // dig if any children exists.
+ result.SetId( aMailBoxId.Id() );
+ //</qmail>
}
else if( aFolderType==EFSOutbox )
{