diff -r bddb6d4447db -r ed1e38b404e5 voipplugins/sipconnectionprovider/src/scpsubservice.cpp --- a/voipplugins/sipconnectionprovider/src/scpsubservice.cpp Mon Mar 15 12:39:55 2010 +0200 +++ b/voipplugins/sipconnectionprovider/src/scpsubservice.cpp Wed Mar 31 21:20:05 2010 +0300 @@ -1,5 +1,5 @@ /* -* Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). +* Copyright (c) 2005-2010 Nokia Corporation and/or its subsidiary(-ies). * All rights reserved. * This component and the accompanying materials are made available * under the terms of "Eclipse Public License v1.0" @@ -29,6 +29,7 @@ #include "scppresencehandler.h" #include "scpimhandler.h" #include "scpsubserviceobserver.h" +#include "scppresencehandler.h" // ----------------------------------------------------------------------------- // CScpSubService::NewL @@ -517,6 +518,17 @@ { iSubServiceState = TScpStateContainer::Instance( ECCHEnabled ); + + if ( ECCHVoIPSub == iSubServiceType ) + { + if ( iService.ContainsSubServiceType( ECCHPresenceSub ) ) + { + CScpPresenceHandler* presenceHandler = static_cast( + &iService.GetSubServiceByType( ECCHPresenceSub )->ServiceHandler() ); + + presenceHandler->UpdateXdmSettingsL(); + } + } } break;