Pārlūkot izejas kodu

Include peers that are connected to you "passively"

Kyrylo Shegeda 11 gadi atpakaļ
vecāks
revīzija
b79bcd434b
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  1. 1 0
      examples/chat.html

+ 1 - 0
examples/chat.html

@@ -81,6 +81,7 @@ function connect(c) {
       }
     });
   }
+  connectedPeers[c.peer] = 1;
 }
 
 $(document).ready(function() {