diff options
Diffstat (limited to 'lib/app.js')
-rw-r--r-- | lib/app.js | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -651,7 +651,8 @@ App.prototype.streamMentions = function (opts) { } App.prototype.streamPrivate = function (opts) { - if (this.sbot.private.read) return this.filter(this.sbot.private, opts, {}) + if (this.sbot.private && this.sbot.private.read) + return this.filter(this.sbot.private, opts, {}) return pull( this.createLogStream(u.mergeOpts(opts)), |