diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/app.js | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -605,11 +605,10 @@ 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})), + this.createLogStream(u.mergeOpts(opts)), pull.filter(u.isMsgEncrypted), this.unboxMessages(), - pull.filter(u.isMsgReadable), - pull.take(opts.limit) + pull.filter(u.isMsgReadable) ) } |