git ssb

2+

mixmix / ticktack



Commit c56c903653fc2e7f3538666e516e135a0571f0a6

remove sorting by unread state, after trying it, it was confusing to have the message you just went into go to another place

Dominic Tarr committed on 8/17/2017, 5:16:47 AM
Parent: 6c2d62189f2bd14a50a90b56b6e4b20393233a56

Files changed

app/page/home.jschanged
app/page/home.jsView
@@ -109,9 +109,12 @@
109109 // console.log('unread', thread.unread, +!!thread.unread)
110110 return thread
111111 })
112112 .sort(function (a, b) {
113- return ((!!b.unread) - (!!a.unread)) || (latestUpdate(b) - latestUpdate(a))
113+ return (
114+ //((!!b.unread) - (!!a.unread)) ||
115+ (latestUpdate(b) - latestUpdate(a))
116+ )
114117 })
115118
116119 // console.log(groupedThreads.map(function (thread) {
117120 // return {ch: thread.value.content.channel, unread: thread.unread, thread: thread}

Built with git-ssb-web