Prevent IMs being sent to prims when avies decline inventory offers from them.
parent
f391d028de
commit
89322aaf94
|
@ -434,6 +434,8 @@ namespace OpenSim.Region.CoreModules.Avatar.Inventory.Transfer
|
|||
scene.SendInventoryUpdate(client, trashFolder, true, true);
|
||||
}
|
||||
|
||||
if (im.dialog == (byte)InstantMessageDialog.InventoryDeclined)
|
||||
{
|
||||
ScenePresence user = scene.GetScenePresence(new UUID(im.toAgentID));
|
||||
|
||||
if (user != null) // Local
|
||||
|
@ -447,6 +449,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Inventory.Transfer
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// public bool NeedSceneCacheClear(UUID agentID, Scene scene)
|
||||
// {
|
||||
|
|
Loading…
Reference in New Issue