Make via-repost notifs groupable (#8429)
This commit is contained in:
@@ -22,7 +22,13 @@ import {
|
|||||||
type NotificationType,
|
type NotificationType,
|
||||||
} from './types'
|
} 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_1HR = 1e3 * 60 * 60
|
||||||
const MS_2DAY = MS_1HR * 48
|
const MS_2DAY = MS_1HR * 48
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user