1
0
Fork 0
mirror of https://github.com/Ylianst/MeshCentral.git synced 2025-03-09 15:40:18 +00:00

Added option to remove guest sharing links.

This commit is contained in:
Ylian Saint-Hilaire 2021-01-20 00:26:53 -08:00
parent 67fb1081b0
commit ceedd0c756
7 changed files with 12 additions and 4 deletions

View file

@ -979,7 +979,7 @@ function createMeshCore(agent) {
}
case 'setclip': {
// Set the load clipboard to a user value
//sendConsoleText('setClip: ' + JSON.stringify(data));
sendConsoleText('setClip: ' + JSON.stringify(data));
if (typeof data.data == 'string') {
MeshServerLogEx(22, [data.data.length], "Setting clipboard content, " + data.data.length + " byte(s)", data);
if (require('MeshAgent').isService) { require('clipboard').dispatchWrite(data.data); } else { require("clipboard")(data.data); } // Set the clipboard