Allow sending inventory without auto-unmuting if Autoresponse for muteds with Inventory Offers is on.

This commit is contained in:
Inusaito Sayori
2015-02-26 22:06:54 -05:00
parent 31124b1b0f
commit 1ce35de4bd

View File

@@ -500,7 +500,7 @@ BOOL LLMuteList::autoRemove(const LLUUID& agent_id, const EAutoReason reason)
{
BOOL removed = FALSE;
if (isMuted(agent_id))
if (isMuted(agent_id) && !(reason == AR_INVENTORY && gSavedSettings.getBOOL("AutoresponseMutedItem")))
{
LLMute automute(agent_id, LLStringUtil::null, LLMute::AGENT);
removed = TRUE;