summaryrefslogtreecommitdiff
path: root/indra/newview/llmutelist.cpp
diff options
context:
space:
mode:
authorAndrey Lihatskiy <andreylproductengine@lindenlab.com>2016-01-11 19:59:41 +0200
committerAndrey Lihatskiy <andreylproductengine@lindenlab.com>2016-01-11 19:59:41 +0200
commit86ee5d92fcacf2fd55706a987c224b83c28f326b (patch)
tree557bd40efa4261f12b75b45c86bda718249634a6 /indra/newview/llmutelist.cpp
parentc9c6966364ba59171313ec179b8b19f920ea6888 (diff)
parente5887ad1d9385ba980b58e4c0ad78337fec451ab (diff)
Merged in andreyl_productengine/viewer-lion-marchcat (pull request #16)
MAINT-6018 [SECURITY] Open URL dialog spam
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 d79baf90e7..3f4f2446e8 100755
--- a/indra/newview/llmutelist.cpp
+++ b/indra/newview/llmutelist.cpp
@@ -315,6 +315,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;
}
}