Make via-repost notifs groupable (#8429)

This commit is contained in:
Samuel Newman
2025-05-30 01:43:56 +03:00
committed by GitHub
parent 7b3916c8cc
commit 4c5a4e471f
+7 -1
View File
@@ -22,7 +22,13 @@ import {
type NotificationType,
} from './types'
const GROUPABLE_REASONS = ['like', 'repost', 'follow']
const GROUPABLE_REASONS = [
'like',
'repost',
'follow',
'like-via-repost',
'repost-via-repost',
]
const MS_1HR = 1e3 * 60 * 60
const MS_2DAY = MS_1HR * 48