Skip to content
Snippets Groups Projects
Commit d971d2b5 authored by Rye Mutt's avatar Rye Mutt :bread:
Browse files

Fix teleport offers getting stuck.

parent 452b78c8
No related branches found
No related tags found
2 merge requests!3Update to main branch,!2Rebase onto current main branch
...@@ -283,6 +283,7 @@ void LLHandlerUtil::addNotifPanelToIM(const LLNotificationPtr& notification) ...@@ -283,6 +283,7 @@ void LLHandlerUtil::addNotifPanelToIM(const LLNotificationPtr& notification)
// update IM floater and counters // update IM floater and counters
LLSD arg; LLSD arg;
arg["session_id"] = session_id; arg["session_id"] = session_id;
arg["notification_id"] = notification->getID();
arg["num_unread"] = ++(session->mNumUnread); arg["num_unread"] = ++(session->mNumUnread);
arg["participant_unread"] = ++(session->mParticipantUnreadMessageCount); arg["participant_unread"] = ++(session->mParticipantUnreadMessageCount);
LLIMModel::getInstance()->mNewMsgSignal(arg); LLIMModel::getInstance()->mNewMsgSignal(arg);
...@@ -321,6 +322,7 @@ void LLHandlerUtil::decIMMesageCounter(const LLNotificationPtr& notification) ...@@ -321,6 +322,7 @@ void LLHandlerUtil::decIMMesageCounter(const LLNotificationPtr& notification)
{ {
LLSD arg; LLSD arg;
arg["session_id"] = session_id; arg["session_id"] = session_id;
arg["notification_id"] = notification->getID();
session->mNumUnread--; session->mNumUnread--;
arg["num_unread"] = session->mNumUnread; arg["num_unread"] = session->mNumUnread;
session->mParticipantUnreadMessageCount--; session->mParticipantUnreadMessageCount--;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment