aboutsummaryrefslogtreecommitdiff
path: root/lib/app.js
diff options
context:
space:
mode:
authorcel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519>2017-12-24 12:13:08 -1000
committercel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519>2017-12-24 12:13:08 -1000
commit079499f482a67c8007cea211c9000eb90aa4e67a (patch)
tree89cb5ae9c571380f47a52cad531b8b86b50e5e36 /lib/app.js
parente3e377748bf340d5a39d201b17fe4cdbab8733c0 (diff)
downloadpatchfoo-079499f482a67c8007cea211c9000eb90aa4e67a.tar.gz
patchfoo-079499f482a67c8007cea211c9000eb90aa4e67a.zip
Allow previewing votes
Diffstat (limited to 'lib/app.js')
-rw-r--r--lib/app.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/app.js b/lib/app.js
index 99ba776..4068530 100644
--- a/lib/app.js
+++ b/lib/app.js
@@ -31,6 +31,7 @@ function App(sbot, config) {
this.host = conf.host || 'localhost'
this.msgFilter = conf.filter
this.showPrivates = conf.showPrivates == null ? true : conf.showPrivates
+ this.previewVotes = conf.previewVotes == null ? false : conf.previewVotes
var base = conf.base || '/'
this.opts = {