forked from snxraven/LinkUp-P2P-Chat
Compare commits
No commits in common. "624222f7269f05193557a64725caca68adf28bc3" and "01ca4aae5ab25afa0ffee736def522cd1b47c7a7" have entirely different histories.
624222f726
...
01ca4aae5a
5
app.js
5
app.js
@ -241,11 +241,6 @@ async function handleConnection(connection, info) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function retryConnection(topicBuffer) {
|
function retryConnection(topicBuffer) {
|
||||||
if (!topicBuffer || !topicBuffer.buffer) {
|
|
||||||
console.error('Invalid topicBuffer:', topicBuffer);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
const topic = b4a.toString(topicBuffer, 'hex');
|
const topic = b4a.toString(topicBuffer, 'hex');
|
||||||
const room = activeRooms.find(room => room.topic === topic);
|
const room = activeRooms.find(room => room.topic === topic);
|
||||||
if (room) {
|
if (room) {
|
||||||
|
Loading…
Reference in New Issue
Block a user