Don't LogInventoryDecline from groups, stop spamming local chat

This commit is contained in:
Lirusaito
2019-02-09 21:18:58 -05:00
parent 1df39f81ee
commit 2e8e641024

View File

@@ -1666,7 +1666,7 @@ bool LLOfferInfo::inventory_offer_callback(const LLSD& notification, const LLSD&
// send the message
msg->sendReliable(mHost);
if (gSavedSettings.getBOOL("LogInventoryDecline"))
if (!mFromGroup && gSavedSettings.getBOOL("LogInventoryDecline"))
{
// [RLVa:KB] - Checked: 2010-09-23 (RLVa-1.2.1e) | Added: RLVa-1.2.1e
if ( (rlv_handler_t::isEnabled()) &&