git ssb

16+

cel / patchfoo



Commit d3244b38bb2daecb1cf73cefc2fa50ca30640ffb

Fix name conflict

cel committed on 10/14/2017, 12:15:05 AM
Parent: 0e7bd91590b8c9fc28113c785e39946943491719

Files changed

lib/app.jschanged
lib/app.jsView
@@ -27,9 +27,9 @@
2727
2828 var conf = config.patchfoo || {}
2929 this.port = conf.port || 8027
3030 this.host = conf.host || 'localhost'
31- this.filter = conf.filter
31 + this.msgFilter = conf.filter
3232
3333 var base = conf.base || '/'
3434 this.opts = {
3535 base: base,
@@ -678,9 +678,9 @@
678678 App.prototype.filterMsg = function (msg, opts, cb) {
679679 var self = this
680680 var myId = self.sbot.id
681681 var author = msg.value && msg.value.author
682- var filter = opts.filter || self.filter
682 + var filter = opts.filter || self.msgFilter
683683 var show = (filter !== 'invert')
684684 if (filter === 'all'
685685 || author === myId
686686 || author === opts.feed

Built with git-ssb-web