summaryrefslogtreecommitdiff
path: root/indra/newview/llmutelist.cpp
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2016-01-15 17:01:16 -0500
committerOz Linden <oz@lindenlab.com>2016-01-15 17:01:16 -0500
commit9848fc42534e48d20cf6d6732aae1c8233580792 (patch)
treecdc30035e2b6ced3cf6d4f9df1844ea7dc4c2836 /indra/newview/llmutelist.cpp
parent4b7ff25eba4b285e267ec6f766221ffcde82a808 (diff)
parent5a5c023e291990a463b1a91846ce82c70da8daab (diff)
merge changes for 4.0.1-release
Diffstat (limited to 'indra/newview/llmutelist.cpp')
-rwxr-xr-xindra/newview/llmutelist.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/llmutelist.cpp b/indra/newview/llmutelist.cpp
index 1616660af0..01cf68bcda 100755
--- a/indra/newview/llmutelist.cpp
+++ b/indra/newview/llmutelist.cpp
@@ -318,6 +318,11 @@ BOOL LLMuteList::add(const LLMute& mute, U32 flags)
{
LLPipeline::removeMutedAVsLights(avatarp);
}
+ //remove agent's notifications as well
+ if (localmute.mType == LLMute::AGENT)
+ {
+ LLNotifications::instance().cancelByOwner(localmute.mID);
+ }
return TRUE;
}
}