mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-03-09 15:40:18 +00:00
Added Windows Terminal Sessions support, Notification group names.
This commit is contained in:
parent
3136e33558
commit
74e3d437dc
19 changed files with 453 additions and 131 deletions
|
@ -14,6 +14,7 @@ var CreateAgentRedirect = function (meshserver, module, serverPublicNamePort, au
|
|||
obj.rauthCookie = rauthCookie;
|
||||
obj.State = 0;
|
||||
obj.nodeid = null;
|
||||
obj.options = null;
|
||||
obj.socket = null;
|
||||
obj.connectstate = -1;
|
||||
obj.tunnelid = Math.random().toString(36).substring(2); // Generate a random client tunnel id
|
||||
|
@ -101,6 +102,7 @@ var CreateAgentRedirect = function (meshserver, module, serverPublicNamePort, au
|
|||
if (obj.State < 3) {
|
||||
if ((e.data == 'c') || (e.data == 'cr')) {
|
||||
if (e.data == 'cr') { obj.serverIsRecording = true; }
|
||||
if (obj.options != null) { delete obj.options.action; obj.options.type = 'options'; try { obj.socket.send(JSON.stringify(obj.options)); } catch (ex) { } }
|
||||
try { obj.socket.send(obj.protocol); } catch (ex) { }
|
||||
obj.xxStateChange(3);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue