diff options
author | AndreyL ProductEngine <alihatskiy@productengine.com> | 2016-01-11 03:35:24 +0200 |
---|---|---|
committer | AndreyL ProductEngine <alihatskiy@productengine.com> | 2016-01-11 03:35:24 +0200 |
commit | e5887ad1d9385ba980b58e4c0ad78337fec451ab (patch) | |
tree | cbea8024d2114ef7586a1b7e495f7d4500fb6141 /indra/newview | |
parent | 29cb3a4a93543c41b23ba429c4d04189c24d30fc (diff) |
MAINT-6018 Open URL dialog spam
Remove notifications of muted agents
Diffstat (limited to 'indra/newview')
-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 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; } } |