mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-03-09 15:40:18 +00:00
Added device console push notification support.
This commit is contained in:
parent
2248cb0a6d
commit
bd17264b05
5 changed files with 30 additions and 17 deletions
|
|
@ -9391,7 +9391,7 @@
|
|||
t = '<div style=color:violet>' + "PUSH" + '> ' + EscapeHtml(v) + '<br/></div>';
|
||||
consoleNode.consoleText += t;
|
||||
meshserver.send({ action: 'pushconsole', nodeid: consoleNode._id, console: v });
|
||||
} else if ((consoleNode.conn & 1) == 0) {
|
||||
} else if ((consoleNode.conn & 1) != 0) {
|
||||
// Send the command to the mesh agent
|
||||
consoleNode.consoleText += t;
|
||||
meshserver.send({ action: 'msg', type: 'console', nodeid: consoleNode._id, value: v });
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue