about summary refs log tree commit diff
path: root/src/state/queries
diff options
context:
space:
mode:
authorSamuel Newman <mozzius@protonmail.com>2025-05-30 01:43:56 +0300
committerGitHub <noreply@github.com>2025-05-30 01:43:56 +0300
commit4c5a4e471fe40714e86b9c02ece057619ae7cd09 (patch)
tree1f0105acecf21a296b4d4fd01001c78a9b7548ee /src/state/queries
parent7b3916c8cc8fc21127b80b9732e047b5549333a9 (diff)
downloadvoidsky-4c5a4e471fe40714e86b9c02ece057619ae7cd09.tar.zst
Make via-repost notifs groupable (#8429)
Diffstat (limited to 'src/state/queries')
-rw-r--r--src/state/queries/notifications/util.ts8
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