Fix - pir
This commit is contained in:
parent
b32911dfb2
commit
bed3495be2
@ -421,7 +421,7 @@ wss.on('connection', (ws) => {
|
||||
const partnerIDOnAuth = peerPartnerID(session, peerID);
|
||||
const partnerConnOnAuth = connections.get(partnerIDOnAuth);
|
||||
if (partnerConnOnAuth?.ws.readyState === 1) {
|
||||
send(partnerConnOnAuth.ws, { type: 'peer.joined', peerID, peerName });
|
||||
send(partnerConnOnAuth.ws, { type: 'peer.joined', peerID, fromName: peerName });
|
||||
}
|
||||
|
||||
// Deliver messages that arrived while this peer was offline
|
||||
|
||||
Loading…
Reference in New Issue
Block a user