diff --git a/src/services/notifications_fetcher/notifications_fetcher.service.js b/src/services/notifications_fetcher/notifications_fetcher.service.js index 9af973226..04c0d637c 100644 --- a/src/services/notifications_fetcher/notifications_fetcher.service.js +++ b/src/services/notifications_fetcher/notifications_fetcher.service.js @@ -14,7 +14,6 @@ const mastoApiNotificationTypes = [ 'move', 'poll', 'pleroma:emoji_reaction', - 'pleroma:chat_mention', 'pleroma:report' ] @@ -29,6 +28,10 @@ const fetchAndUpdate = ({ store, credentials, older = false, since }) => { const timelineData = rootState.notifications const hideMutedPosts = getters.mergedConfig.hideMutedPosts + if (store.rootState.instance.pleromaChatMessagesAvailable) { + mastoApiNotificationTypes.push('pleroma:chat_mention') + } + args.includeTypes = mastoApiNotificationTypes args.withMuted = !hideMutedPosts