소스 검색

Include peers that are connected to you "passively"

Kyrylo Shegeda 11 년 전
부모
커밋
b79bcd434b
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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() {