diff options
Diffstat (limited to 'lib/app.js')
-rw-r--r-- | lib/app.js | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -111,3 +111,10 @@ function getAbout(sbot, src, id, cb) { cb(null, about) }) } + +App.prototype.createLogStream = function (opts) { + opts = opts || {} + return opts.sortByTimestamp + ? this.sbot.createFeedStream(opts) + : this.sbot.createLogStream(opts) +} |