mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2024-12-27 15:45:53 -05:00
Added LocalConsent
This commit is contained in:
parent
e7366f4179
commit
2a0c2282f2
@ -878,6 +878,7 @@ function handleServerCommand(data) {
|
|||||||
tunnel.sessionid = data.sessionid;
|
tunnel.sessionid = data.sessionid;
|
||||||
tunnel.rights = data.rights;
|
tunnel.rights = data.rights;
|
||||||
tunnel.consent = data.consent;
|
tunnel.consent = data.consent;
|
||||||
|
if (global._MSH && _MSH().LocalConsent != null) { tunnel.consent |= parseInt(_MSH().LocalConsent); }
|
||||||
tunnel.privacybartext = data.privacybartext ? data.privacybartext : "Sharing desktop with: {0}";
|
tunnel.privacybartext = data.privacybartext ? data.privacybartext : "Sharing desktop with: {0}";
|
||||||
tunnel.username = data.username + (data.guestname ? (' - ' + data.guestname) : '');
|
tunnel.username = data.username + (data.guestname ? (' - ' + data.guestname) : '');
|
||||||
tunnel.realname = (data.realname ? data.realname : data.username) + (data.guestname ? (' - ' + data.guestname) : '');
|
tunnel.realname = (data.realname ? data.realname : data.username) + (data.guestname ? (' - ' + data.guestname) : '');
|
||||||
|
Loading…
Reference in New Issue
Block a user