Commit c5addd64ddbeb18f55782fe34189ac34c181bb31
feed summary: show 4 most recent replies (up from 3)
Matt McKegg committed on 11/1/2016, 7:16:48 AMParent: 2cccc563e935c542ce7c37f90eab873bdc17f1ac
Files changed
modules/feed-summary.js | changed |
modules/feed-summary.js | |||
---|---|---|---|
@@ -137,9 +137,9 @@ | |||
137 | 137 … | ||
138 | 138 … | function renderItem (item) { | |
139 | 139 … | if (item.type === 'message') { | |
140 | 140 … | var meta = null | |
141 | - var replies = item.replies.slice(-3).map(m => message_render(m, true)) | ||
141 … | + var replies = item.replies.slice(-4).map(m => message_render(m, true)) | ||
142 | 142 … | var renderedMessage = item.message ? message_render(item.message, true) : null | |
143 | 143 … | if (renderedMessage) { | |
144 | 144 … | if (item.lastUpdateType === 'reply' && item.repliesFrom.size) { | |
145 | 145 … | meta = m('div.meta', { |
Built with git-ssb-web