diff options
author | Eugeniy E. Mikhailov <evgmik@gmail.com> | 2021-01-23 12:14:40 -0500 |
---|---|---|
committer | Eugeniy E. Mikhailov <evgmik@gmail.com> | 2021-01-23 12:14:40 -0500 |
commit | b3a2799231fec0ef26b842e7d652c81b41d1c804 (patch) | |
tree | c1bb315a46c71b3ebb66287c482ef737376e7599 /lib | |
parent | 60627f65e8157c6afd288dcacd0296ddc50d8eaf (diff) | |
download | patchfoo-b3a2799231fec0ef26b842e7d652c81b41d1c804.tar.gz patchfoo-b3a2799231fec0ef26b842e7d652c81b41d1c804.zip |
filter out vote from the public stream
Diffstat (limited to 'lib')
-rw-r--r-- | lib/serve.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/serve.js b/lib/serve.js index a06f566..f7e8330 100644 --- a/lib/serve.js +++ b/lib/serve.js @@ -587,6 +587,9 @@ Serve.prototype.public = function (ext) { pull( this.app.createLogStream(opts), + pull.filter(msg => { + return !msg.value.content.vote + }), this.renderThreadPaginated(opts, null, q), this.wrapMessages(), this.wrapPublic(), |