FIRE-13477: Prevent Antispam from spamming the user with block messages if an object is blocked who's owner has been blocked already

Ansariel 2014-12-08 15:02:39 +01:00
parent 5145be8536
commit e5afc12660
1 changed files with 5 additions and 2 deletions

View File

@ -656,8 +656,11 @@ void NACLAntiSpamRegistry::processObjectPropertiesFamily(LLMessageSystem* msg)
{
AntispamObjectData data = found->second;
data.mName = LLSLURL("objectim", id, "").getSLURLString() + "?name=" + LLURI::escape(name) + "&owner=" + owner_id.asString();
notify(data);
if (!isBlockedOnQueue(data.mQueue, owner_id))
{
data.mName = LLSLURL("objectim", id, "").getSLURLString() + "?name=" + LLURI::escape(name) + "&owner=" + owner_id.asString();
notify(data);
}
mObjectData.erase(found);
}