git ssb

10+

Matt McKegg / patchwork



Commit 8b5a53ad4e12f5f4957f2a1ed938d0179a3ab04a

change renderAsCard to inRollup for message.html.render

mix irving committed on 4/10/2018, 8:33:21 AM
Parent: 6751afc5d0191f821b49e0ccfa83176f9218b282

Files changed

modules/feed/html/rollup.jschanged
plugs/message/html/render/blog.jschanged
modules/feed/html/rollup.jsView
@@ -243,9 +243,9 @@
243243
244244 var renderedMessage = api.message.html.render(item, {
245245 compact: compactFilter(item),
246246 includeForks: false, // this is a root message, so forks are already displayed as replies
247- renderAsCard: true,
247+ inRollup: true,
248248 priority: getPriority(item)
249249 })
250250
251251 unreadIds.delete(item.key)
plugs/message/html/render/blog.jsView
@@ -21,9 +21,9 @@
2121 function blogRenderer (msg, opts) {
2222 if (!isBlog(msg)) return
2323
2424 var blog = Blog(api.sbot.obs.connection).obs.get(msg)
25- var content = opts.renderAsCard
25+ var content = opts.inRollup
2626 ? BlogCard({
2727 blog,
2828 onClick: () => api.app.navigate(msg.key),
2929 color: api.about.obs.color,

Built with git-ssb-web