git ssb

2+

mixmix / ticktack



Commit 2d9c04497ae27569166c3fce934b7c17eee3753b

Merge branch 'master' into feature-keys-export

mix irving committed on 5/29/2018, 2:34:07 AM
Parent: 493292f2dc34df1e6685ec0848041c4fed74987d
Parent: 2314018b27b8f2a68eab93b5a8c8b0cc777bb8b2

Files changed

app/html/scroller.jschanged
app/html/sideNav/sideNavDiscovery.jschanged
app/html/scroller.jsView
@@ -15,9 +15,9 @@
1515 function createScroller (opts = {}) {
1616 const {
1717 stream, // TODO - rename this to createStream (rename across app)
1818 filter = () => pull.filter((msg) => true),
19- indexProperty = ['value', 'timestamp']
19+ indexProperty = ['timestamp']
2020 } = opts
2121
2222 const streamToTop = pull(
2323 next(stream, { live: true, reverse: false, old: false, limit: 100, property: indexProperty }),
app/html/sideNav/sideNavDiscovery.jsView
@@ -40,9 +40,9 @@
4040
4141 function markUnread (msg) {
4242 unreadMsgsCache.get(msg.value.content.root || msg.key)
4343 .delete(msg.key)
44-
44+
4545 const participants = api.message.sync.getParticipants(msg)
4646 unreadMsgsCache.get(participants.key)
4747 .delete(msg.key)
4848 }
@@ -70,15 +70,15 @@
7070 updateCache(getUnreadMsgsCache(rootKey), msg)
7171 }
7272
7373 pull(
74- next(api.feed.pull.private, {reverse: true, limit: 1000, live: false, property: ['value', 'timestamp']}),
74+ next(api.feed.pull.private, {reverse: true, limit: 1000, live: false, property: ['timestamp']}),
7575 privateMsgFilter(),
7676 pull.drain(updateUnreadMsgsCache)
7777 )
7878
7979 pull(
80- next(api.feed.pull.private, {old: false, live: true, property: ['value', 'timestamp']}),
80+ next(api.feed.pull.private, {old: false, live: true, property: ['timestamp']}),
8181 privateMsgFilter(),
8282 pull.drain(updateUnreadMsgsCache)
8383 )
8484
@@ -366,5 +366,4 @@
366366 return true
367367 }
368368 return false
369369 }
370-

Built with git-ssb-web