diff -r 8aed59de29f9 -r 4eb2df7f7cbe videocollection/mpxmyvideoscollection/src/vcxmyvideosmessagelist.cpp --- a/videocollection/mpxmyvideoscollection/src/vcxmyvideosmessagelist.cpp Fri Apr 16 18:13:14 2010 +0300 +++ b/videocollection/mpxmyvideoscollection/src/vcxmyvideosmessagelist.cpp Fri Apr 30 09:52:11 2010 +0300 @@ -189,6 +189,24 @@ { extraInfo = media->ValueTObjectL( KVcxMediaMyVideosInt32Value ); } + + if ( extraInfo == EVcxMyVideosVideoListOrderChanged && + aExtraInfo == 0 ) + { + MPX_DEBUG1("CVcxMyVideosMessageList:: found similar message with EVcxMyVideosVideoListOrderChanged flag set, discarding this msg"); + return ETrue; + } + + if ( aExtraInfo == EVcxMyVideosVideoListOrderChanged && + extraInfo == 0 ) + { + MPX_DEBUG1("CVcxMyVideosMessageList:: Turning the EVcxMyVideosVideoListOrderChanged flag on to the previous message"); + MPX_DEBUG1("CVcxMyVideosMessageList:: and discarding this."); + media->SetTObjectValueL( KVcxMediaMyVideosInt32Value, + EVcxMyVideosVideoListOrderChanged ); + return ETrue; + } + if ( aExtraInfo == extraInfo ) { return ETrue;