aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519>2019-08-08 12:37:01 -0700
committercel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519>2019-08-08 12:37:01 -0700
commit8899ea8bcb8d84bff2623a4e1aacfc83a224bef6 (patch)
treebd5ff3287ae2c12410fbb58a5ed728bd58016d51
parente6c067de16888102cc4ced4fae9fcd2ffbc98ef9 (diff)
downloadpatchfoo-8899ea8bcb8d84bff2623a4e1aacfc83a224bef6.tar.gz
patchfoo-8899ea8bcb8d84bff2623a4e1aacfc83a224bef6.zip
Search through private messages
-rw-r--r--lib/app.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/app.js b/lib/app.js
index 621f557..7e91dcb 100644
--- a/lib/app.js
+++ b/lib/app.js
@@ -229,11 +229,13 @@ App.prototype.advancedSearch = function (opts) {
: opts.source ?
this.sbotCreateUserStream({
reverse: true,
+ private: true,
id: opts.source
})
:
this.sbot.createFeedStream({
reverse: true,
+ private: true,
}),
this.unboxMessages(),
opts.text && pull.filter(filterByText(opts.text))