mirror of
				https://github.com/Ylianst/MeshCentral.git
				synced 2025-03-09 15:40:18 +00:00 
			
		
		
		
	Added customui device deselection.
This commit is contained in:
		
							parent
							
								
									a1cb07670d
								
							
						
					
					
						commit
						71b351add9
					
				
					 2 changed files with 7 additions and 7 deletions
				
			
		|  | @ -295,12 +295,8 @@ function CreateMeshRelayEx(parent, ws, req, domain, user, cookie) { | |||
|                         } | ||||
|                     } | ||||
| 
 | ||||
|                     // Check that both sides have websocket connections
 | ||||
|                     if ((obj.ws == null) || (relayinfo.peer1.ws == null)) { | ||||
|                         relayinfo.peer1.close(); | ||||
|                         obj.close(); | ||||
|                         return null; | ||||
|                     } | ||||
|                     // Check that both sides have websocket connections, this should never happen.
 | ||||
|                     if ((obj.ws == null) || (relayinfo.peer1.ws == null)) { relayinfo.peer1.close(); obj.close(); return null; } | ||||
| 
 | ||||
|                     // Connect to peer
 | ||||
|                     obj.peer = relayinfo.peer1; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue