Skip to content

Commit

Permalink
Merge pull request #30 from PinoutLTD/dev
Browse files Browse the repository at this point in the history
fix bug in feedback
  • Loading branch information
tubleronchik authored Aug 7, 2024
2 parents 53a936d + 541c884 commit 61564aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/messageHandler.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ export class MessageHandler {
if (serverPeerId) {
if (this.libp2pManager.findConnectionByPeerId(node, serverPeerId)) {
const connection = this.libp2pManager.findConnectionByPeerId(node, serverPeerId);
this.libp2pManager.sendMsg(connection, msg.data, protocol);
this.libp2pManager.sendMsg(connection, msg.data, protocol, ws);
} else {
this.libp2pManager.connect2NodeViaRelay(node, serverPeerId).then((connection) => {
this.libp2pManager.sendMsg(connection, msg.data, protocol, ws);
Expand Down

0 comments on commit 61564aa

Please sign in to comment.