aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/app.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/app.js b/lib/app.js
index 433a179..873dedd 100644
--- a/lib/app.js
+++ b/lib/app.js
@@ -531,8 +531,8 @@ App.prototype.streamMentions = function (opts) {
App.prototype.streamPrivate = function (opts) {
if (this.sbot.private.read) return this.filter(this.sbot.private, opts, {})
- return pull
- this.createLogStream(u.mergeOpts(opts, {limit: null}),
+ return pull(
+ this.createLogStream(u.mergeOpts(opts, {limit: null})),
pull.filter(u.isMsgEncrypted),
this.unboxMessages(),
pull.filter(u.isMsgReadable),