Commit 50acb42b9733f299a0a10fdb8a84d71ecc04ba7b
only count private messages and mentions for badge count, not all messages
Joran committed on 8/7/2017, 10:26:44 PMParent: 0d7ab4023cc3d953c3edb70e8ca7d2c67ed4881e
Files changed
main-window.js | changed |
main-window.js | ||
---|---|---|
@@ -59,9 +59,9 @@ | ||
59 | 59 … | '/public', '/private', id, '/mentions' |
60 | 60 … | ]) |
61 | 61 … | |
62 | 62 … | var pendingCount = computed([ |
63 | - views.get('/public').pendingUpdates, | |
63 … | + views.get('/mentions').pendingUpdates, | |
64 | 64 … | views.get('/private').pendingUpdates |
65 | 65 … | ], (...counts) => { |
66 | 66 … | return counts.reduce((a, b) => a + b) |
67 | 67 … | }) |
Built with git-ssb-web