aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/app.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/app.js b/lib/app.js
index 4a4d696..9f0b883 100644
--- a/lib/app.js
+++ b/lib/app.js
@@ -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,