diff options
author | cel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519> | 2018-04-02 17:46:06 -1000 |
---|---|---|
committer | cel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519> | 2018-04-02 17:47:51 -1000 |
commit | 108ec779eeab8c092db727b660ddb752253b9192 (patch) | |
tree | 18abd8f172cbaabc08774457ac468217640e6d83 /lib | |
parent | 198f91bb10f4ff370994f73147d5088899bd15ca (diff) | |
download | patchfoo-108ec779eeab8c092db727b660ddb752253b9192.tar.gz patchfoo-108ec779eeab8c092db727b660ddb752253b9192.zip |
Handle missing ssb-backlinks
Diffstat (limited to 'lib')
-rw-r--r-- | lib/app.js | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -807,6 +807,7 @@ App.prototype.getAddresses = function (id) { } App.prototype.getIdeaTitle = function (id, cb) { + if (!this.sbot.backlinks) return cb(null, String(id).substr(0, 8) + '…') pull( this.sbot.backlinks.read({ reverse: true, |