git ssb

9+

cel / ssb-viewer



Commit 4370a22cdd69c8e422d8f56bd0673ffca8de29ba

Remove talenet from user-feed

Anders Rune Jensen committed on 2/13/2018, 9:51:38 PM
Parent: adf146935d7507e038d8a03b7d43f44940ea276f

Files changed

index.jschanged
render.jschanged
index.jsView
@@ -177,8 +177,9 @@
177177 var feedOpts = Object.assign({}, defaultOpts, {
178178 renderPrivate: false,
179179 renderSubscribe: false,
180180 renderVote: false,
181 + renderTalenet: false,
181182 renderChess: false,
182183 renderFollow: false,
183184 renderPub: false,
184185 renderAbout: false
render.jsView
@@ -353,8 +353,9 @@
353353 if (opts.renderPrivate == false && typeof(msg.value.content) == 'string') return ''
354354 if (opts.renderSubscribe == false && c.type == "channel" && c.subscribed != undefined) return ''
355355 if (opts.renderVote == false && c.type == "vote") return ''
356356 if (opts.renderChess == false && c.type.startsWith("chess")) return ''
357 + if (opts.renderTalenet == false && c.type.startsWith("talenet")) return ''
357358 if (opts.renderFollow == false && c.type == "contact") return ''
358359 if (opts.renderAbout == false && c.type == "about") return ''
359360 if (opts.renderPub == false && c.type == "pub") return ''
360361 if (msg.author.publicWebHosting === false) return h('article', 'User has chosen not to be hosted publicly').outerHTML;

Built with git-ssb-web