From 2a0c2282f21cd2d95ce49c0466a13d742e2ddca6 Mon Sep 17 00:00:00 2001 From: Bryan Roe Date: Thu, 10 Jun 2021 22:54:53 -0700 Subject: [PATCH] Added LocalConsent --- agents/meshcore.js | 1 + 1 file changed, 1 insertion(+) diff --git a/agents/meshcore.js b/agents/meshcore.js index de8ffcbb..774a0f69 100644 --- a/agents/meshcore.js +++ b/agents/meshcore.js @@ -878,6 +878,7 @@ function handleServerCommand(data) { tunnel.sessionid = data.sessionid; tunnel.rights = data.rights; 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.username = data.username + (data.guestname ? (' - ' + data.guestname) : ''); tunnel.realname = (data.realname ? data.realname : data.username) + (data.guestname ? (' - ' + data.guestname) : '');