diff options
Diffstat (limited to 'lib/app.js')
-rw-r--r-- | lib/app.js | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -28,7 +28,7 @@ function App(sbot, config) { var conf = config.patchfoo || {} this.port = conf.port || 8027 this.host = conf.host || 'localhost' - this.filter = conf.filter + this.msgFilter = conf.filter var base = conf.base || '/' this.opts = { @@ -679,7 +679,7 @@ App.prototype.filterMsg = function (msg, opts, cb) { var self = this var myId = self.sbot.id var author = msg.value && msg.value.author - var filter = opts.filter || self.filter + var filter = opts.filter || self.msgFilter var show = (filter !== 'invert') if (filter === 'all' || author === myId |