Added remote desktop lock support to desktop multiplexor

This commit is contained in:
Ylian Saint-Hilaire 2021-04-27 12:27:20 -07:00
parent 8083f9db87
commit a39f658984
1 changed files with 1 additions and 0 deletions

View File

@ -444,6 +444,7 @@ function CreateDesktopMultiplexor(parent, domain, nodeid, func) {
try { json = JSON.parse(data); } catch (ex) { }
if (json == null) return;
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;
}