mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-03-09 15:40:18 +00:00
Revert "Fix missing sendText on amt-redir-ws."
This reverts commit 9b48645630
.
This commit is contained in:
parent
8ae278ab06
commit
327d58ea32
1 changed files with 0 additions and 2 deletions
|
@ -270,8 +270,6 @@ var CreateAmtRedirect = function (module, authCookie) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
obj.sendText = obj.xxSend;
|
|
||||||
|
|
||||||
obj.send = function (x) {
|
obj.send = function (x) {
|
||||||
if (obj.socket == null || obj.connectstate != 1) return;
|
if (obj.socket == null || obj.connectstate != 1) return;
|
||||||
if (obj.protocol == 1) { obj.xxSend(String.fromCharCode(0x28, 0x00, 0x00, 0x00) + IntToStrX(obj.amtsequence++) + ShortToStrX(x.length) + x); } else { obj.xxSend(x); }
|
if (obj.protocol == 1) { obj.xxSend(String.fromCharCode(0x28, 0x00, 0x00, 0x00) + IntToStrX(obj.amtsequence++) + ShortToStrX(x.length) + x); } else { obj.xxSend(x); }
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue