aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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