From d971d2b55ea22d2b81472ba89f91735c5c7cd6ac Mon Sep 17 00:00:00 2001
From: Rye Mutt <rye@alchemyviewer.org>
Date: Sat, 9 Mar 2024 17:29:36 -0500
Subject: [PATCH] Fix teleport offers getting stuck.

---
 indra/newview/llnotificationhandlerutil.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/indra/newview/llnotificationhandlerutil.cpp b/indra/newview/llnotificationhandlerutil.cpp
index a35082f7eb4..5cc9d4a1149 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--;
-- 
GitLab