Explorar el Código

Include peers that are connected to you "passively"

Kyrylo Shegeda hace 11 años
padre
commit
b79bcd434b
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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() {