diff options
author | cel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519> | 2017-10-13 14:15:05 -1000 |
---|---|---|
committer | cel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519> | 2017-10-13 14:15:05 -1000 |
commit | d3244b38bb2daecb1cf73cefc2fa50ca30640ffb (patch) | |
tree | 946a669ad930c3cba6e7dc4a403568bb9c6cbec1 /lib/app.js | |
parent | 0e7bd91590b8c9fc28113c785e39946943491719 (diff) | |
download | patchfoo-d3244b38bb2daecb1cf73cefc2fa50ca30640ffb.tar.gz patchfoo-d3244b38bb2daecb1cf73cefc2fa50ca30640ffb.zip |
Fix name conflict
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 |