(event, data)
| 81 | }, |
| 82 | |
| 83 | _onPeerP2PIncomingConnection(event, data) { |
| 84 | const { connection } = data; |
| 85 | const peers = this.model; |
| 86 | const peer = peers.findBy('peer.id', connection.peer); |
| 87 | |
| 88 | // Don't switch to 'connecting' state on incoming connection, |
| 89 | // as p2p connection may still fail. |
| 90 | peer.set('peer.connection', connection); |
| 91 | }, |
| 92 | |
| 93 | _onPeerDCIncomingConnection(event, data) { |
| 94 | const { connection } = data; |
nothing calls this directly
no outgoing calls
no test coverage detected