mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 01:35:46 +08:00
A few more bots to yesterday's plumbing: change instant message method
signature
This commit is contained in:
@@ -117,7 +117,8 @@ namespace OpenSim.Region.Environment.Modules.Avatar.InstantMessage
|
||||
= ((dialog == 38) || (dialog == 39) || (dialog == 40)
|
||||
|| dialog == (byte) InstantMessageDialog.InventoryOffered
|
||||
|| dialog == (byte) InstantMessageDialog.InventoryAccepted
|
||||
|| dialog == (byte) InstantMessageDialog.InventoryDeclined);
|
||||
|| dialog == (byte) InstantMessageDialog.InventoryDeclined
|
||||
|| dialog == (byte) InstantMessageDialog.GroupNotice);
|
||||
|
||||
// IM dialogs need to be pre-processed and have their sessionID filled by the server
|
||||
// so the sim can match the transaction on the return packet.
|
||||
|
||||
@@ -127,7 +127,7 @@ namespace OpenSim.Region.Environment.Modules.Avatar.Inventory.Transfer
|
||||
|
||||
user.ControllingClient.SendInstantMessage(
|
||||
fromAgentID, fromAgentSession, message, toAgentID, imSessionID, fromAgentName,
|
||||
dialog, timestamp, binaryBucket);
|
||||
dialog, timestamp, false, binaryBucket);
|
||||
|
||||
return;
|
||||
}
|
||||
@@ -159,7 +159,7 @@ namespace OpenSim.Region.Environment.Modules.Avatar.Inventory.Transfer
|
||||
{
|
||||
user.ControllingClient.SendInstantMessage(
|
||||
fromAgentID, fromAgentSession, message, toAgentID, imSessionID, fromAgentName,
|
||||
dialog, timestamp, binaryBucket);
|
||||
dialog, timestamp, false, binaryBucket);
|
||||
|
||||
if (m_pendingOffers.ContainsKey(imSessionID))
|
||||
{
|
||||
@@ -205,7 +205,7 @@ namespace OpenSim.Region.Environment.Modules.Avatar.Inventory.Transfer
|
||||
{
|
||||
user.ControllingClient.SendInstantMessage(
|
||||
fromAgentID, fromAgentSession, message, toAgentID, imSessionID, fromAgentName,
|
||||
dialog, timestamp, binaryBucket);
|
||||
dialog, timestamp, false, binaryBucket);
|
||||
|
||||
if (m_pendingOffers.ContainsKey(imSessionID))
|
||||
{
|
||||
|
||||
@@ -478,7 +478,7 @@ namespace OpenSim.Region.Environment.Modules.World.NPC
|
||||
|
||||
public virtual void SendInstantMessage(UUID fromAgent, UUID fromAgentSession, string message, UUID toAgent,
|
||||
UUID imSessionID, string fromName, byte dialog, uint timeStamp,
|
||||
byte[] binaryBucket)
|
||||
bool fromGroup, byte[] binaryBucket)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user