After opening a browser tab, the console displays:
IPFS node ready with address Qm.......
subscribed to room
No event seems to be dispatched for "peer joined" or "peer left"
EDIT:
same thing when using same dependency versions as in repo:
"browserify": "^14.4.0",
"http-server": "^0.10.0",
"ipfs": "^0.27.3",
"ipfs-pubsub-room": "^1.1.3"
Two things:
Did you open another tab so it would be dispatched?
Did you pass the repo option to IFPS? I found if you don't do that no event is dispatched.
mac OS 10.13.5 node v8.11.3 npm v6.1.0
package.json dependencies: "browserify": "^16.2.2", "http-server": "^0.11.1", "ipfs": "^0.29.3", "ipfs-pubsub-room": "^1.3.0"
After opening a browser tab, the console displays: IPFS node ready with address Qm....... subscribed to room
No event seems to be dispatched for "peer joined" or "peer left"
EDIT: same thing when using same dependency versions as in repo: "browserify": "^14.4.0", "http-server": "^0.10.0", "ipfs": "^0.27.3", "ipfs-pubsub-room": "^1.1.3"