From df6d424b86391119a29d101da2fe0a42140583c6 Mon Sep 17 00:00:00 2001 From: cel Date: Mon, 14 Jan 2019 09:54:07 -1000 Subject: default filter to all --- lib/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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 -- cgit v1.2.3