From 01aeed637d925d0ef65525d5fcf7c71fbc61cfcd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andri=20=C3=93skarsson?= Date: Sat, 11 Jan 2025 15:57:05 +0100 Subject: [PATCH] use actual repost date --- packages/atproto/domain/queue-repost.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/atproto/domain/queue-repost.ts b/packages/atproto/domain/queue-repost.ts index eb2d4af..254b504 100644 --- a/packages/atproto/domain/queue-repost.ts +++ b/packages/atproto/domain/queue-repost.ts @@ -32,7 +32,7 @@ export async function queueRePost( await ctx.db .update(postTable) .set({ - lastMentioned: new Date(), + lastMentioned: new Date(postMsg.commit.record.createdAt), }) .where(eq(postTable.id, existingPost.id)); return; -- 2.51.2