From fe37dd58aac2f4fb22151806fe97d283abf37dbc Mon Sep 17 00:00:00 2001 From: Ylian Saint-Hilaire Date: Wed, 20 Jan 2021 14:48:46 -0800 Subject: [PATCH] Version 0.7.49 --- multiserver.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/multiserver.js b/multiserver.js index 8c5842a1..e1fccfab 100644 --- a/multiserver.js +++ b/multiserver.js @@ -531,7 +531,7 @@ module.exports.CreateMultiServer = function (parent, args) { if (peerServerId > obj.parent.serverId) { // We must initiate the connection to the peer userid = null; - if (rsession.peer1.req.session != null) { userid = rsession.peer1.req.session.userid; } + if (rsession.peer1.req.session != null) { userid = rsession.peer1.req.session.userid; } // TODO: Seems like there is a race condition here, need to investigate. obj.createPeerRelay(rsession.peer1.ws, rsession.peer1.req, peerServerId, userid); delete obj.parent.webserver.wsrelays[msg.id]; } diff --git a/package.json b/package.json index 619d2ce9..c2054e71 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "meshcentral", - "version": "0.7.48", + "version": "0.7.49", "keywords": [ "Remote Device Management", "Remote Device Monitoring",