From 4c5a4e471fe40714e86b9c02ece057619ae7cd09 Mon Sep 17 00:00:00 2001 From: Samuel Newman Date: Fri, 30 May 2025 01:43:56 +0300 Subject: Make via-repost notifs groupable (#8429) --- src/state/queries/notifications/util.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/state/queries/notifications/util.ts b/src/state/queries/notifications/util.ts index 569fbbd0f..007f65cc7 100644 --- a/src/state/queries/notifications/util.ts +++ b/src/state/queries/notifications/util.ts @@ -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 -- cgit 1.4.1