diff --git a/indra/newview/llnotificationhandlerutil.cpp b/indra/newview/llnotificationhandlerutil.cpp
index a35082f7eb48be336ab509f92cc5c64a3c803c06..5cc9d4a114913fbdda513124bc4377cd467f2cd9 100644
--- a/indra/newview/llnotificationhandlerutil.cpp
+++ b/indra/newview/llnotificationhandlerutil.cpp
@@ -283,6 +283,7 @@ void LLHandlerUtil::addNotifPanelToIM(const LLNotificationPtr& notification)
 	// update IM floater and counters
 	LLSD arg;
 	arg["session_id"] = session_id;
+	arg["notification_id"] = notification->getID();
 	arg["num_unread"] = ++(session->mNumUnread);
 	arg["participant_unread"] = ++(session->mParticipantUnreadMessageCount);
 	LLIMModel::getInstance()->mNewMsgSignal(arg);
@@ -321,6 +322,7 @@ void LLHandlerUtil::decIMMesageCounter(const LLNotificationPtr& notification)
 	{
 	LLSD arg;
 	arg["session_id"] = session_id;
+	arg["notification_id"] = notification->getID();
 	session->mNumUnread--;
 	arg["num_unread"] = session->mNumUnread;
 	session->mParticipantUnreadMessageCount--;