mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-03-09 15:40:18 +00:00
Fixed connection options, not sent unless needed.
This commit is contained in:
parent
afce306026
commit
4fb6a77d94
2 changed files with 7 additions and 3 deletions
|
@ -1271,7 +1271,9 @@ function createMeshCore(agent) {
|
|||
// Look for a TSID
|
||||
var tsid = null;
|
||||
if ((this.httprequest.xoptions != null) && (typeof this.httprequest.xoptions.tsid == 'number')) { tsid = this.httprequest.xoptions.tsid; }
|
||||
if (require('MeshAgent')._tsid != null) { tsid = require('MeshAgent')._tsid; }
|
||||
//if (require('MeshAgent')._tsid != null) { tsid = require('MeshAgent')._tsid; }
|
||||
//sendConsoleText('tsid: ' + tsid);
|
||||
//require('MeshAgent')._tsid = tsid;
|
||||
|
||||
// Remote desktop using native pipes
|
||||
this.httprequest.desktop = { state: 0, kvm: mesh.getRemoteDesktopStream(tsid), tunnel: this };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue