Merge branch 'master' of /home/opensim/var/repo/opensim
commit
466a88f676
|
@ -186,8 +186,11 @@ namespace OpenSim.Region.CoreModules.Avatar.InstantMessage
|
||||||
|
|
||||||
foreach (GridInstantMessage im in msglist)
|
foreach (GridInstantMessage im in msglist)
|
||||||
{
|
{
|
||||||
// client.SendInstantMessage(im);
|
if (im.dialog == (byte)InstantMessageDialog.InventoryOffered)
|
||||||
|
// send it directly or else the item will be given twice
|
||||||
|
client.SendInstantMessage(im);
|
||||||
|
else
|
||||||
|
{
|
||||||
// Send through scene event manager so all modules get a chance
|
// Send through scene event manager so all modules get a chance
|
||||||
// to look at this message before it gets delivered.
|
// to look at this message before it gets delivered.
|
||||||
//
|
//
|
||||||
|
@ -200,6 +203,7 @@ namespace OpenSim.Region.CoreModules.Avatar.InstantMessage
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
private void UndeliveredMessage(GridInstantMessage im)
|
private void UndeliveredMessage(GridInstantMessage im)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue