aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519>2019-01-14 09:54:07 -1000
committercel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519>2019-01-14 09:54:07 -1000
commitdf6d424b86391119a29d101da2fe0a42140583c6 (patch)
tree72ce6265e21d8324251fbd16a89b04131a26e631
parent0137a295d2cf9c659a360eca278d25d3f2f1b207 (diff)
downloadpatchfoo-df6d424b86391119a29d101da2fe0a42140583c6.tar.gz
patchfoo-df6d424b86391119a29d101da2fe0a42140583c6.zip
default filter to all
-rw-r--r--lib/app.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/app.js b/lib/app.js
index bf77e2a..ac275a4 100644
--- a/lib/app.js
+++ b/lib/app.js
@@ -34,7 +34,7 @@ function App(sbot, config) {
var conf = config.patchfoo || {}
this.port = conf.port || 8027
this.host = conf.host || 'localhost'
- this.msgFilter = conf.filter
+ this.msgFilter = conf.filter == null ? 'all' : conf.filter
this.showPrivates = conf.showPrivates == null ? true : conf.showPrivates
this.previewVotes = conf.previewVotes == null ? false : conf.previewVotes
this.previewContacts = conf.previewContacts == null ? false : conf.previewContacts