瀏覽代碼

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() {