aboutsummaryrefslogtreecommitdiff
path: root/lib/app.js
diff options
context:
space:
mode:
authorcel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519>2019-05-10 12:44:20 -1000
committercel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519>2019-05-10 18:31:03 -1000
commit17233e4ef8a6f672b84a5ac786dc90a8e4a530a1 (patch)
tree59724c1054933411d58488c7971b80e536ce21c2 /lib/app.js
parentb43e57849f5f07ba972639c8be10586da74e474c (diff)
downloadpatchfoo-17233e4ef8a6f672b84a5ac786dc90a8e4a530a1.tar.gz
patchfoo-17233e4ef8a6f672b84a5ac786dc90a8e4a530a1.zip
Default to publish votes without branch/root.
Don't include vote messages in post branch links by default.
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 9da761e..621f557 100644
--- a/lib/app.js
+++ b/lib/app.js
@@ -53,6 +53,7 @@ function App(sbot, config) {
|| new Buffer('pmr+IzM+4VAZgi5H5bOopXkwnzqrNussS7DtAJsfbf0=', 'base64')
// sha256('peer-invites:DEVELOPMENT')
*/
+ this.voteBranches = !!config.voteBranches
this.hostname = (/:/.test(this.host) ? '[' + this.host + ']' : this.host) + this.port
this.dir = path.join(config.path, conf.dir || 'patchfoo')