mmsengine/mmsmessage/src/mmsmessageoperation.cpp
changeset 23 238255e8b033
parent 0 72b543305e3a
child 47 5b14749788d7
child 60 7fdbb852d323
child 62 fdbe8253b596
--- a/mmsengine/mmsmessage/src/mmsmessageoperation.cpp	Tue Feb 02 00:08:43 2010 +0200
+++ b/mmsengine/mmsmessage/src/mmsmessageoperation.cpp	Fri Apr 16 14:56:15 2010 +0300
@@ -574,7 +574,7 @@
     if ( ( iOperation == EReply ) ||
          ( iOperation == EForward ))
         {
-        // Copy appropiate parts from original MMS headers
+        // Copy appropriate parts from original MMS headers
         // We checked in the beginning that we have a source entry
         originalMmsHeaders = CMmsHeaders::NewL( iSettings->MmsVersion() );
         CleanupStack::PushL( originalMmsHeaders );     // ***
@@ -607,27 +607,7 @@
                     TMmsGenUtils::PureAddress( iNewMmsHeaders->BccRecipients().MdcaPoint( i ) ) );
                 }
                 
-            // Find own number
-            // don't remove if only one recipient in the list
-            if ( recipientList->MdcaCount() > 1 )
-                {
-                CMmsOwnNumber* ownNumberSearcher = 
-                    CMmsOwnNumber::NewL( &iMsvSession.FileSession() );
-                CleanupStack::PushL( ownNumberSearcher );
-                
-                TInt index = -1;
-                index = ownNumberSearcher->StartL( *recipientList );
-                
-                if ( index >= 0 )
-                    {
-                    // found something
-                    while ( iNewMmsHeaders->RemoveAddressee( recipientList->MdcaPoint( index ) ) )
-                        {
-                        }
-                    }
-                    
-                CleanupStack::PopAndDestroy( ownNumberSearcher );
-                }
+           
             CleanupStack::PopAndDestroy( recipientList );
             }