Fix all streamed notification types being stored without filtering (#31384)

This commit is contained in:
Claire authored and GitHub committed 2024-08-12 13:40:29 +00:00
1 parent 709dcd07f2
commit a7b718c31a
4 files changed
+59 -10

No files matched your search

+1 -1
View File
@@ -104,7 +104,7 @@ export const connectTimelineStream = (timelineId, channelName, params = {}, opti
const notificationJSON = JSON.parse(data.payload);
dispatch(updateNotifications(notificationJSON, messages, locale));
// TODO: remove this once the groups feature replaces the previous one
if(getState().notificationGroups.groups.length > 0) {
if(getState().settings.getIn(['notifications', 'groupingBeta'], false)) {
dispatch(processNewNotificationForGroups(notificationJSON));
}
break;