summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorAndreyL ProductEngine <alihatskiy@productengine.com>2016-01-11 03:35:24 +0200
committerAndreyL ProductEngine <alihatskiy@productengine.com>2016-01-11 03:35:24 +0200
commitf6d995b0a2a1eff20a1d0c00ed905354ec440cec (patch)
tree8c335f56207b63fa7ad0dcb804a738f02417738b /indra/newview
parent30446d6afc974ff07bde69b0f969bc5fbd3902ef (diff)
MAINT-6018 Open URL dialog spam
Remove notifications of muted agents
Diffstat (limited to 'indra/newview')
-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;
}
}