MAINT-6018 Open URL dialog spam

Remove notifications of muted agents
master
AndreyL ProductEngine 2016-01-11 03:35:24 +02:00
parent 30446d6afc
commit f6d995b0a2
1 changed files with 5 additions and 0 deletions

View File

@ -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;
}
}