mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2024-12-25 15:03:25 +03:00
Added remote desktop lock support to desktop multiplexor
This commit is contained in:
parent
8083f9db87
commit
a39f658984
@ -444,6 +444,7 @@ function CreateDesktopMultiplexor(parent, domain, nodeid, func) {
|
|||||||
try { json = JSON.parse(data); } catch (ex) { }
|
try { json = JSON.parse(data); } catch (ex) { }
|
||||||
if (json == null) return;
|
if (json == null) return;
|
||||||
if ((json.type == 'options') && (obj.protocolOptions == null)) { obj.protocolOptions = json; }
|
if ((json.type == 'options') && (obj.protocolOptions == null)) { obj.protocolOptions = json; }
|
||||||
|
if ((json.ctrlChannel == '102938') && (json.type == 'lock') && (viewer.viewOnly == false)) { obj.sendToAgent('{"ctrlChannel":"102938","type":"lock"}'); } // Account lock support
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user