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

Enable mesh agents to engage with plugins via the sendPeriodicServerUpdate call

This commit is contained in:
Ryan Blenis 2019-10-27 19:43:39 -04:00
parent dcd62405d3
commit daed74403a
3 changed files with 7 additions and 3 deletions

View file

@ -2517,7 +2517,7 @@ function createMeshCore(agent) {
if ((meshCoreObj.av == null) || (JSON.stringify(meshCoreObj.av) != JSON.stringify(av))) { meshCoreObj.av = av; mesh.SendCommand(meshCoreObj); }
}
// TODO: add plugin hook here
mesh.SendCommand({ action: "plugin", plugin: "__all", hook: "sendPeriodicServerUpdate"});
}