Skip to content

Commit

Permalink
Fix last remnant of combinedPeerId fix
Browse files Browse the repository at this point in the history
  • Loading branch information
DoubleMalt committed Jul 12, 2022
1 parent 74be35e commit 751675d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pantry/services/ws.js
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ function addWebsocket(server) {
// connection = {ws, peerId}

function getPublicKey({peerId}) {
return peerId.split(';')[0];
return peerId.split('.')[0];
}

// peer connections per room
Expand Down

0 comments on commit 751675d

Please sign in to comment.