auth info bug fixed
This commit is contained in:
		
							parent
							
								
									1e068a634b
								
							
						
					
					
						commit
						91e553aa0c
					
				| 
						 | 
				
			
			@ -214,7 +214,8 @@ addService(({
 | 
			
		|||
            if(client.isSecure(message.peer))
 | 
			
		||||
            {
 | 
			
		||||
                let info = {};
 | 
			
		||||
                client.info.forEach((value, name) => info[name] = value);
 | 
			
		||||
                let peer = Client.clients.get(message.peer);
 | 
			
		||||
                peer.info.forEach((value, name) => info[name] = value);
 | 
			
		||||
                return end({
 | 
			
		||||
                    status: "success",
 | 
			
		||||
                    info
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -46,8 +46,6 @@ export default class WebRTC
 | 
			
		|||
 | 
			
		||||
    public peer? : Peer;
 | 
			
		||||
 | 
			
		||||
    public FileTransportChannel? : P2PFileSender;
 | 
			
		||||
 | 
			
		||||
    constructor(
 | 
			
		||||
        rtcConfig?: RTCConfiguration,
 | 
			
		||||
        rtcServers?: RTCIceServer[]
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue