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