From b3a2799231fec0ef26b842e7d652c81b41d1c804 Mon Sep 17 00:00:00 2001 From: "Eugeniy E. Mikhailov" Date: Sat, 23 Jan 2021 12:14:40 -0500 Subject: filter out vote from the public stream --- lib/serve.js | 3 +++ 1 file changed, 3 insertions(+) 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(), -- cgit v1.2.3