git ssb

9+

cel / ssb-viewer



Commit 0b8dc2980200cda5d0f2b25df1d4b9bf8dda60c8

Allow a feed to set publicWebHosting to null

This should be equivalent to having not set publicWebHosting at all.
cel committed on 8/17/2018, 10:30:16 PM
Parent: 78e7e8a0087325795a746c98fad5255a3ae405aa

Files changed

lib/about.jschanged
lib/about.jsView
@@ -30,9 +30,9 @@
3030 if (c.image) feedAbout.image = linkDest(c.image)
3131 if (c.description) feedAbout.description = c.description
3232 if (c.title) feedAbout.title = c.title
3333 if (c.startDateTime) feedAbout.startDateTime = c.startDateTime
34- if (c.publicWebHosting != null && author === c.about) feedAbout.publicWebHosting = defalsify(c.publicWebHosting)
34 + if (c.publicWebHosting !== undefined && author === c.about) feedAbout.publicWebHosting = defalsify(c.publicWebHosting)
3535 }, function (err) {
3636 if (err) return cb(err)
3737 // Use whatever properties have the most counts.
3838 // Usually we would want to handle renames for dead feeds and such,

Built with git-ssb-web