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

Added terminal device sharing.

This commit is contained in:
Ylian Saint-Hilaire 2020-11-27 13:55:02 -08:00
parent 76cd48105f
commit 1b2a63977b
13 changed files with 2528 additions and 2006 deletions

1
db.js
View file

@ -463,6 +463,7 @@ module.exports.CreateDB = function (parent, func) {
case 'ugrp': { dbUGrpChange(change, true); break; } // A user account has created
}
} else if (change.operationType == 'delete') {
if ((change.documentKey == null) || (change.documentKey._id == null)) return;
var splitId = change.documentKey._id.split('/');
switch (splitId[0]) {
case 'node': {