git ssb

10+

Matt McKegg / patchwork



Commit c5addd64ddbeb18f55782fe34189ac34c181bb31

feed summary: show 4 most recent replies (up from 3)

Matt McKegg committed on 11/1/2016, 7:16:48 AM
Parent: 2cccc563e935c542ce7c37f90eab873bdc17f1ac

Files changed

modules/feed-summary.jschanged
modules/feed-summary.jsView
@@ -137,9 +137,9 @@
137137
138138 function renderItem (item) {
139139 if (item.type === 'message') {
140140 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))
142142 var renderedMessage = item.message ? message_render(item.message, true) : null
143143 if (renderedMessage) {
144144 if (item.lastUpdateType === 'reply' && item.repliesFrom.size) {
145145 meta = m('div.meta', {

Built with git-ssb-web