Remove incorrect nav badge handling placement

This commit is contained in:
Gigiaj 2025-06-19 14:22:58 -05:00
parent 72aa386238
commit 8cbc9ce601

View file

@ -212,11 +212,6 @@ function MessageNotifications() {
) { ) {
return; return;
} }
try {
navigator.setAppBadge(unreadInfo.total);
} catch (e) {
// Likely Firefox/Gecko-based and doesn't support badging API
}
if (showNotifications && notificationPermission('granted')) { if (showNotifications && notificationPermission('granted')) {
const avatarMxc = const avatarMxc =