aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/app.js2
-rw-r--r--lib/serve.js1
2 files changed, 2 insertions, 1 deletions
diff --git a/lib/app.js b/lib/app.js
index b62a1d2..ef5cc6a 100644
--- a/lib/app.js
+++ b/lib/app.js
@@ -817,7 +817,7 @@ App.prototype.streamMentions = function (opts) {
'Viewing mentions requires the ssb-backlinks plugin'))
if (this.sbot.backlinks) return this.filter(this.sbot.backlinks, opts, {
- dest: this.sbot.id,
+ dest: opts.id || this.sbot.id,
})
}
diff --git a/lib/serve.js b/lib/serve.js
index 37d93eb..815c452 100644
--- a/lib/serve.js
+++ b/lib/serve.js
@@ -678,6 +678,7 @@ Serve.prototype.mentions = function (ext) {
lt: Number(q.lt) || Date.now(),
gt: Number(q.gt) || -Infinity,
filter: q.filter,
+ id: q.id
}
return pull(