diff options
author | Oz Linden <oz@lindenlab.com> | 2016-01-15 17:01:16 -0500 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2016-01-15 17:01:16 -0500 |
commit | 9848fc42534e48d20cf6d6732aae1c8233580792 (patch) | |
tree | cdc30035e2b6ced3cf6d4f9df1844ea7dc4c2836 /indra/newview/llmutelist.cpp | |
parent | 4b7ff25eba4b285e267ec6f766221ffcde82a808 (diff) | |
parent | 5a5c023e291990a463b1a91846ce82c70da8daab (diff) |
merge changes for 4.0.1-release
Diffstat (limited to 'indra/newview/llmutelist.cpp')
-rwxr-xr-x | indra/newview/llmutelist.cpp | 5 |
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; } } |