Commit 8b5a53ad4e12f5f4957f2a1ed938d0179a3ab04a
change renderAsCard to inRollup for message.html.render
mix irving committed on 4/10/2018, 8:33:21 AMParent: 6751afc5d0191f821b49e0ccfa83176f9218b282
Files changed
modules/feed/html/rollup.js | changed |
plugs/message/html/render/blog.js | changed |
modules/feed/html/rollup.js | ||
---|---|---|
@@ -243,9 +243,9 @@ | ||
243 | 243 | |
244 | 244 | var renderedMessage = api.message.html.render(item, { |
245 | 245 | compact: compactFilter(item), |
246 | 246 | includeForks: false, // this is a root message, so forks are already displayed as replies |
247 | - renderAsCard: true, | |
247 | + inRollup: true, | |
248 | 248 | priority: getPriority(item) |
249 | 249 | }) |
250 | 250 | |
251 | 251 | unreadIds.delete(item.key) |
plugs/message/html/render/blog.js | ||
---|---|---|
@@ -21,9 +21,9 @@ | ||
21 | 21 | function blogRenderer (msg, opts) { |
22 | 22 | if (!isBlog(msg)) return |
23 | 23 | |
24 | 24 | var blog = Blog(api.sbot.obs.connection).obs.get(msg) |
25 | - var content = opts.renderAsCard | |
25 | + var content = opts.inRollup | |
26 | 26 | ? BlogCard({ |
27 | 27 | blog, |
28 | 28 | onClick: () => api.app.navigate(msg.key), |
29 | 29 | color: api.about.obs.color, |
Built with git-ssb-web