diff options
author | Samuel Newman <mozzius@protonmail.com> | 2025-05-30 01:43:56 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-05-30 01:43:56 +0300 |
commit | 4c5a4e471fe40714e86b9c02ece057619ae7cd09 (patch) | |
tree | 1f0105acecf21a296b4d4fd01001c78a9b7548ee /src | |
parent | 7b3916c8cc8fc21127b80b9732e047b5549333a9 (diff) | |
download | voidsky-4c5a4e471fe40714e86b9c02ece057619ae7cd09.tar.zst |
Make via-repost notifs groupable (#8429)
Diffstat (limited to 'src')
-rw-r--r-- | src/state/queries/notifications/util.ts | 8 |
1 files changed, 7 insertions, 1 deletions
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 |