From c1cf9894eadb30fcec557bc4f11ba4b475dbf870 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andri=20=C3=93skarsson?= Date: Fri, 17 Jan 2025 16:17:03 +0100 Subject: [PATCH] group by replyroot as well, hate these repeating replies --- packages/atproto/feeds/queries/following.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/atproto/feeds/queries/following.ts b/packages/atproto/feeds/queries/following.ts index 4a6eba9..9d999b6 100644 --- a/packages/atproto/feeds/queries/following.ts +++ b/packages/atproto/feeds/queries/following.ts @@ -44,7 +44,7 @@ export async function followingFeedHandler( ) .orderBy(desc(dateField)) .limit(limit) - .groupBy(postTable.id, rpls.created, rpls.repostUri); + .groupBy(postTable.id, rpls.created, rpls.repostUri, postTable.replyRoot); const posts = await postQuery; -- 2.51.2