mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-04-01 18:21:27 -04:00
Fix missing sendText on amt-redir-ws.
This commit is contained in:
parent
0735cf8047
commit
8ae278ab06
@ -270,6 +270,8 @@ 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…
x
Reference in New Issue
Block a user