No notification on the slack logo in the top bar.
Notification on the slack logo in the top bar.
Rambox: v0.5.12
OS: OSX 10.12.6 (16G29)
Arch: x64
I can confirm this on my installation too (0.5.12 on x86_64 Arch Linux) - I was able to fix it with this custom JS snippet:
function checkUnread() {
var a = $('.p-channel_sidebar__channel--unread:not([class*="p-channel_sidebar__channel--muted"])').length;
var b = 0;
$(".p-channel_sidebar__badge").each(function() {
b += isNaN(parseInt($(this).html())) ? 0 : parseInt($(this).html())
});
updateBadge(a, b)
}
I just saw this issue after i spent an hour getting a build working to fix it. My pull request should fix the issue permanently.
Instead of using setInterval to poll for the notifications classes, perhaps Rambox could use the MutationObserver API? I don't know if it's available in electron, though!
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Most helpful comment
I can confirm this on my installation too (0.5.12 on x86_64 Arch Linux) - I was able to fix it with this custom JS snippet: