# HG changeset patch # User Dremov Kirill (Nokia-D-MSW/Tampere) # Date 1272377338 -10800 # Node ID 8147bfb6c710a2ea1366f136cb639ad96655141e # Parent 33d4877f7b9ff1bd106acaa3b5f15317c80d0230 Revision: 201015 Kit: 201017 diff -r 33d4877f7b9f -r 8147bfb6c710 messagingfw/msgsrvnstore/server/src/MSVSERV.CPP --- a/messagingfw/msgsrvnstore/server/src/MSVSERV.CPP Wed Apr 14 16:27:44 2010 +0300 +++ b/messagingfw/msgsrvnstore/server/src/MSVSERV.CPP Tue Apr 27 17:08:58 2010 +0300 @@ -3567,7 +3567,9 @@ // if an operation is already running, queue this one if (opRunning) { - aOperation.SetCapability(hasCapability); +#if (defined SYMBIAN_USER_PROMPT_SERVICE) + aOperation.SetCapability(hasCapability); +#endif QueueOperationL(aOperation, aSessionId); return; } @@ -3747,7 +3749,11 @@ } } +#if (defined SYMBIAN_USER_PROMPT_SERVICE) aQueue->At(0)->Start(*aQueue->iMtm, aQueue->At(0)->Capability()); +#else + aQueue->At(0)->Start(*aQueue->iMtm, EFalse); +#endif aQueue->At(0)->SetState(EMsvOperationRunning); } diff -r 33d4877f7b9f -r 8147bfb6c710 messagingfw/msgsrvnstore/server/src/msvindexadapter.cpp --- a/messagingfw/msgsrvnstore/server/src/msvindexadapter.cpp Wed Apr 14 16:27:44 2010 +0300 +++ b/messagingfw/msgsrvnstore/server/src/msvindexadapter.cpp Tue Apr 27 17:08:58 2010 +0300 @@ -1424,10 +1424,7 @@ User::Leave(err); } UpdateDates(*oldEntry, EFalse); - if(aNewEntryContents.Connected()) - { - oldEntry->Entry().SetConnected(EFalse); - } + if(aForcedUpdate || changedPrivateInfo && aOwnerId != KMsvServerId ) { oldEntry->SetEntryOwnerId(aOwnerId); diff -r 33d4877f7b9f -r 8147bfb6c710 messagingfw/senduiservices/src/SendUiImpl.cpp --- a/messagingfw/senduiservices/src/SendUiImpl.cpp Wed Apr 14 16:27:44 2010 +0300 +++ b/messagingfw/senduiservices/src/SendUiImpl.cpp Tue Apr 27 17:08:58 2010 +0300 @@ -1386,8 +1386,6 @@ CSendUiFileRightsEngine* fileRightsEngine = CSendUiFileRightsEngine::NewLC( iCoeEnv->FsSession() ); cleanupItems++; // Get attachments - if ( aMessageData ) - { attachments = CSendUiAttachment::InitAttachmentArrayLCC( aMessageData->AttachmentArray(), aMessageData->AttachmentHandleArray(), @@ -1399,8 +1397,7 @@ //there are no attachments, so no point in checking the file rights at all. CleanupStack::PopAndDestroy( cleanupItems ); return ETrue; - } - } + } fileRightsEngine->ConfirmDrmFileRightsL( attachments ); if ( attachments->Count() <= 0 ) {