diff options
Diffstat (limited to 'lib/app.js')
-rw-r--r-- | lib/app.js | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -500,6 +500,16 @@ App.prototype.streamMyChannels = function (id, opts) { ) } +App.prototype.streamTags = function () { + return pull( + this.sbot.messagesByType({type: 'tag', reverse: true}), + this.unboxMessages(), + pull.filter(function (msg) { + return !msg.value.content.message + }) + ) +} + function compareVoted(a, b) { return b.value - a.value } |