uiservicetab/vimpstcmdprocess/src/cvimpstprocessArray.cpp
branchRCL_3
changeset 13 76f25fb7a6a1
parent 9 9fdee5e1da30
child 19 fda5a9396e07
--- a/uiservicetab/vimpstcmdprocess/src/cvimpstprocessArray.cpp	Tue May 11 16:01:07 2010 +0300
+++ b/uiservicetab/vimpstcmdprocess/src/cvimpstprocessArray.cpp	Tue May 25 12:27:36 2010 +0300
@@ -1026,6 +1026,14 @@
         iUnKnownContactArray.Reset();
         iAddRequestArray.ResetAndDestroy();// delete all items
         iAddRequestArray.Reset();
+        
+        // Reset contact list array (append the contacts to contact list array 
+        // by getting from contactlist model) before contacts update.  
+        if(aLoginState == TVIMPSTEnums::ESVCENotRegistered )
+        	{
+			ResetArray();
+        	}
+        
         // reset the status of all the contacts.
         // no need to check the item type here. by the time its here all the other 
         // type except contact item are removed.