git ssb

0+

alanz / patchwork



forked from Matt McKegg / patchwork

Commit 50acb42b9733f299a0a10fdb8a84d71ecc04ba7b

only count private messages and mentions for badge count, not all messages

Joran committed on 8/7/2017, 10:26:44 PM
Parent: 0d7ab4023cc3d953c3edb70e8ca7d2c67ed4881e

Files changed

main-window.jschanged
main-window.jsView
@@ -59,9 +59,9 @@
5959 '/public', '/private', id, '/mentions'
6060 ])
6161
6262 var pendingCount = computed([
63- views.get('/public').pendingUpdates,
63 + views.get('/mentions').pendingUpdates,
6464 views.get('/private').pendingUpdates
6565 ], (...counts) => {
6666 return counts.reduce((a, b) => a + b)
6767 })

Built with git-ssb-web