diff -r 796276a1bdcc -r 9fdee5e1da30 instantmsgindicatorplugin/src/instantmsgindicatorpluginimplementation.cpp --- a/instantmsgindicatorplugin/src/instantmsgindicatorpluginimplementation.cpp Wed Mar 31 21:14:49 2010 +0300 +++ b/instantmsgindicatorplugin/src/instantmsgindicatorpluginimplementation.cpp Wed Apr 14 15:46:18 2010 +0300 @@ -176,11 +176,17 @@ // void CInstantMsgIndicatorPluginImplementation::MessageInfoL(TInt aNewMessages, TInt aSeriveId, const TDesC& aSenderId , - TInt aMultipleSender) + TInt aMultipleSender, + TBool aCloseConversation /*= EFalse*/) { ShowIMIndicatorL(aNewMessages, aSeriveId,aSenderId, aMultipleSender); - PlayMsgToneL(aNewMessages,aSeriveId); + // this event is not from close conversation hence play the tone, + // else do not play the tone. + if(!aCloseConversation) + { + PlayMsgToneL(aNewMessages,aSeriveId); + } } //end of file