Fix follow notifications from streaming being grouped (#32179)
This commit is contained in:
parent
5839ee434b
commit
1be55ce244
2 changed files with 46 additions and 37 deletions
|
@ -70,6 +70,10 @@ function dispatchAssociatedRecords(
|
|||
|
||||
const supportedGroupedNotificationTypes = ['favourite', 'reblog'];
|
||||
|
||||
export function shouldGroupNotificationType(type: string) {
|
||||
return supportedGroupedNotificationTypes.includes(type);
|
||||
}
|
||||
|
||||
export const fetchNotifications = createDataLoadingThunk(
|
||||
'notificationGroups/fetch',
|
||||
async (_params, { getState }) =>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue