aboutsummaryrefslogtreecommitdiff
path: root/lib/app.js
diff options
context:
space:
mode:
authorcel <cel@lOUVT+Phkvai9a/cCS/RKo+S9hnPAQdVixms/7ldpPA=.ed25519>2020-04-08 18:36:36 -0400
committercel <cel@lOUVT+Phkvai9a/cCS/RKo+S9hnPAQdVixms/7ldpPA=.ed25519>2020-04-08 18:38:50 -0400
commit28562531dcff8901fe1698cccf8eb98eb74d912c (patch)
treeaf4ae36d56fcea71f7a8d86e58067578f3966293 /lib/app.js
parent94607565ec744efb11bdb97a69a6089a4f241985 (diff)
downloadpatchfoo-28562531dcff8901fe1698cccf8eb98eb74d912c.tar.gz
patchfoo-28562531dcff8901fe1698cccf8eb98eb74d912c.zip
Allow querying mentions of any id
Diffstat (limited to 'lib/app.js')
-rw-r--r--lib/app.js2
1 files changed, 1 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,
})
}