Explorar o código

Merge pull request #155 from che-burashco/patch-1

Include peers that are connected to you "passively"
Michelle Bu %!s(int64=11) %!d(string=hai) anos
pai
achega
c96dfd3301
Modificáronse 1 ficheiros con 1 adicións e 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() {
 $(document).ready(function() {