orbitdb-archive / orbit

A distributed, serverless, peer-to-peer chat application on IPFS
MIT License
1.64k stars 117 forks source link

The UI shows 0 peers connected when there are peers connected #195

Closed haadcode closed 7 years ago

haadcode commented 7 years ago

The UI currently always shows 0 peers in the swarm view. This is due to new version of ipfs-api changing the api and it got broken.

There's a line in Orbit/getSwarmPeers where the result from ipfs.swarm.peers need to be parsed according to the new api.