mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 22:26:09 +08:00
More on HG inventory transfers. Move the FireAndForget higher up.
This commit is contained in:
@@ -206,7 +206,7 @@ namespace OpenSim.Region.CoreModules.Framework.InventoryAccess
|
||||
m_assMapper.Get(item.AssetID, sender, userAssetServer);
|
||||
|
||||
if (IsForeignUser(receiver, out userAssetServer) && userAssetServer != string.Empty && m_OutboundPermission)
|
||||
Util.FireAndForget(delegate { m_assMapper.Post(item.AssetID, receiver, userAssetServer); });
|
||||
m_assMapper.Post(item.AssetID, receiver, userAssetServer);
|
||||
}
|
||||
|
||||
public override bool IsForeignUser(UUID userID, out string assetServerURL)
|
||||
|
||||
@@ -633,7 +633,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
{
|
||||
IInventoryAccessModule invAccess = RequestModuleInterface<IInventoryAccessModule>();
|
||||
if (invAccess != null)
|
||||
invAccess.TransferInventoryAssets(itemCopy, senderId, recipient);
|
||||
Util.FireAndForget(delegate { invAccess.TransferInventoryAssets(itemCopy, senderId, recipient); });
|
||||
}
|
||||
|
||||
if (!Permissions.BypassPermissions())
|
||||
|
||||
Reference in New Issue
Block a user