aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/app.js12
1 files changed, 11 insertions, 1 deletions
diff --git a/lib/app.js b/lib/app.js
index 04ad487..c65552e 100644
--- a/lib/app.js
+++ b/lib/app.js
@@ -214,7 +214,17 @@ App.prototype.advancedSearch = function (opts) {
reverse: true,
})
: opts.dest ?
- this.sbot.links({
+ this.sbot.backlinks ? this.sbot.backlinks.read({
+ reverse: true,
+ query: [
+ {$filter: {
+ dest: opts.dest,
+ value: {
+ author: opts.source || undefined
+ }
+ }}
+ ]
+ }) : this.sbotLinks({
values: true,
dest: opts.dest,
source: opts.source || undefined,