ssbc / ssb-ref

check if a string is a valid ssb-reference
MIT License
14 stars 10 forks source link

accept legacy addresses as objects `isAddress({key, host, port})` #30

Closed dominictarr closed 5 years ago

dominictarr commented 5 years ago

Turns out sbot was using this, https://github.com/ssbc/scuttlebot/blob/master/plugins/gossip/init.js#L23 but since this way of calling isAddress never had test coverage, and 2.13 changed this, it meant that sbot did not rebuild it's peers list from pub messages.

I'm will publish this as a patch - I think it may fix the sbot@13 incompatiblitiy