Actually, the message format is LLSD notation not python (d'oh)
This commit is contained in:
@@ -68,6 +68,9 @@ export class CommunicationsCommands extends CommandsBase
|
||||
Message: Utils.StringToBuffer(itemOrFolder.name),
|
||||
BinaryBucket: bucket
|
||||
};
|
||||
im.EstateBlock = {
|
||||
EstateID: 0
|
||||
};
|
||||
const sequenceNo = circuit.sendMessage(im, PacketFlags.Reliable);
|
||||
return await circuit.waitForAck(sequenceNo, 10000);
|
||||
}
|
||||
@@ -99,6 +102,9 @@ export class CommunicationsCommands extends CommandsBase
|
||||
Message: Utils.StringToBuffer(message),
|
||||
BinaryBucket: Buffer.allocUnsafe(0)
|
||||
};
|
||||
im.EstateBlock = {
|
||||
EstateID: 0
|
||||
};
|
||||
const sequenceNo = circuit.sendMessage(im, PacketFlags.Reliable);
|
||||
return await circuit.waitForAck(sequenceNo, 10000);
|
||||
}
|
||||
@@ -223,6 +229,9 @@ export class CommunicationsCommands extends CommandsBase
|
||||
Message: Utils.StringToBuffer(''),
|
||||
BinaryBucket: Buffer.allocUnsafe(0)
|
||||
};
|
||||
im.EstateBlock = {
|
||||
EstateID: 0
|
||||
};
|
||||
const sequenceNo = circuit.sendMessage(im, PacketFlags.Reliable);
|
||||
return await circuit.waitForAck(sequenceNo, 10000);
|
||||
}
|
||||
@@ -254,6 +263,9 @@ export class CommunicationsCommands extends CommandsBase
|
||||
Message: Utils.StringToBuffer(''),
|
||||
BinaryBucket: Buffer.allocUnsafe(0)
|
||||
};
|
||||
im.EstateBlock = {
|
||||
EstateID: 0
|
||||
};
|
||||
const sequenceNo = circuit.sendMessage(im, PacketFlags.Reliable);
|
||||
return await circuit.waitForAck(sequenceNo, 10000);
|
||||
}
|
||||
@@ -407,6 +419,9 @@ export class CommunicationsCommands extends CommandsBase
|
||||
Message: Buffer.allocUnsafe(0),
|
||||
BinaryBucket: Buffer.allocUnsafe(0)
|
||||
};
|
||||
im.EstateBlock = {
|
||||
EstateID: 0
|
||||
};
|
||||
this.agent.deleteChatSession(groupID);
|
||||
const sequenceNo = this.circuit.sendMessage(im, PacketFlags.Reliable);
|
||||
return this.circuit.waitForAck(sequenceNo, 10000);
|
||||
@@ -445,6 +460,9 @@ export class CommunicationsCommands extends CommandsBase
|
||||
Message: Utils.StringToBuffer(message),
|
||||
BinaryBucket: Utils.StringToBuffer('')
|
||||
};
|
||||
im.EstateBlock = {
|
||||
EstateID: 0
|
||||
};
|
||||
circuit.sendMessage(im, PacketFlags.Reliable);
|
||||
await Utils.waitOrTimeOut(this.currentRegion.clientEvents.onGroupChatSessionJoin, 10000, (event: GroupChatSessionJoinEvent) =>
|
||||
{
|
||||
@@ -514,6 +532,9 @@ export class CommunicationsCommands extends CommandsBase
|
||||
Message: Utils.StringToBuffer(message),
|
||||
BinaryBucket: Utils.StringToBuffer('')
|
||||
};
|
||||
im.EstateBlock = {
|
||||
EstateID: 0
|
||||
};
|
||||
const sequenceNo = circuit.sendMessage(im, PacketFlags.Reliable);
|
||||
await this.circuit.waitForAck(sequenceNo, 10000);
|
||||
|
||||
|
||||
@@ -307,6 +307,9 @@ export class FriendCommands extends CommandsBase
|
||||
Message: Utils.StringToBuffer(message),
|
||||
BinaryBucket: Utils.StringToBuffer('')
|
||||
};
|
||||
im.EstateBlock = {
|
||||
EstateID: 0
|
||||
};
|
||||
const sequenceNo = this.circuit.sendMessage(im, PacketFlags.Reliable);
|
||||
return await this.circuit.waitForAck(sequenceNo, 10000);
|
||||
}
|
||||
|
||||
@@ -50,6 +50,9 @@ export class GroupCommands extends CommandsBase
|
||||
Message: Utils.StringToBuffer(subject + '|' + message),
|
||||
BinaryBucket: Buffer.allocUnsafe(0)
|
||||
};
|
||||
im.EstateBlock = {
|
||||
EstateID: 0
|
||||
};
|
||||
const sequenceNo = circuit.sendMessage(im, PacketFlags.Reliable);
|
||||
return await circuit.waitForAck(sequenceNo, 10000);
|
||||
}
|
||||
@@ -137,6 +140,9 @@ export class GroupCommands extends CommandsBase
|
||||
Message: Utils.StringToBuffer(''),
|
||||
BinaryBucket: Buffer.allocUnsafe(0)
|
||||
};
|
||||
im.EstateBlock = {
|
||||
EstateID: 0
|
||||
};
|
||||
const sequenceNo = circuit.sendMessage(im, PacketFlags.Reliable);
|
||||
return await circuit.waitForAck(sequenceNo, 10000);
|
||||
}
|
||||
@@ -164,6 +170,9 @@ export class GroupCommands extends CommandsBase
|
||||
Message: Utils.StringToBuffer(''),
|
||||
BinaryBucket: Buffer.allocUnsafe(0)
|
||||
};
|
||||
im.EstateBlock = {
|
||||
EstateID: 0
|
||||
};
|
||||
const sequenceNo = circuit.sendMessage(im, PacketFlags.Reliable);
|
||||
return await circuit.waitForAck(sequenceNo, 10000);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user