simpledatamodeladapter/src/presencepluginentitywatcher.cpp
changeset 12 e6a66db4e9d0
parent 0 c8caa15ef882
--- a/simpledatamodeladapter/src/presencepluginentitywatcher.cpp	Tue Feb 02 01:05:17 2010 +0200
+++ b/simpledatamodeladapter/src/presencepluginentitywatcher.cpp	Fri Mar 19 09:37:41 2010 +0200
@@ -395,13 +395,7 @@
         MXIMPIdentity* identity2 = iConnObs.ObjectFactory().NewIdentityLC();    
         
         HBufC* withoutPrefix = iPresenceData->RemovePrefixLC( aIdentity );
-        identity2->SetIdentityL( *withoutPrefix );
-        
-        DP_SDA("SetTerminatedToXIMPL, write offline status to cache");
-        iPresenceData->WriteStatusToCacheL( *withoutPrefix,
-            MPresenceBuddyInfo2::ENotAvailable,
-            KNullDesC(),
-            KNullDesC() );
+        identity2->SetIdentityL( *withoutPrefix );   
         
         // XIMP Host API callback 
         watcherHost.HandleSubscribedPresentityPresenceL( identity2, prInfo );