From 5929ea036994ed6f9b543e841a09c5c32efe4daa Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Wed, 22 Apr 2026 18:02:37 +0300 Subject: [PATCH 1/2] cleanup consolelog --- src/stores/interface.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/stores/interface.js b/src/stores/interface.js index a2ea39366..3da844a3b 100644 --- a/src/stores/interface.js +++ b/src/stores/interface.js @@ -91,7 +91,6 @@ export const useInterfaceStore = defineStore('interface', { }, setPageTitle(option = '') { try { - console.log('TITLE', option, useInstanceStore().instanceIdentity.name) document.title = `${option} ${useInstanceStore().instanceIdentity.name}` } catch (error) { console.error(`${error}`) From 7b3bf9d2904306dbc6f721b9ec659885145e4128 Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Wed, 22 Apr 2026 18:10:53 +0300 Subject: [PATCH 2/2] fix notifications not showing up --- src/services/notification_utils/notification_utils.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/services/notification_utils/notification_utils.js b/src/services/notification_utils/notification_utils.js index 3463953eb..ee983f478 100644 --- a/src/services/notification_utils/notification_utils.js +++ b/src/services/notification_utils/notification_utils.js @@ -65,22 +65,24 @@ const sortById = (a, b) => { } } -const isMutedNotification = (notification) => { +const isMutedNotification = (muteFilters, notification) => { if (!notification.status) return false if (notification.status.muted) return true - return muteFilterHits(notification.status).length > 0 + return muteFilterHits(muteFilters, notification.status).length > 0 } export const maybeShowNotification = ( store, notificationVisibility, + muteFilters, notification, ) => { + console.log('NOTIF', store, notificationVisibility, muteFilters, notification) const rootState = store.rootState || store.state if (notification.seen) return if (!visibleTypes(notificationVisibility).includes(notification.type)) return - if (notification.type === 'mention' && isMutedNotification(notification)) + if (notification.type === 'mention' && isMutedNotification(muteFilters, notification)) return const notificationObject = prepareNotificationObject(