Show Reddit post age in conversations

This commit is contained in:
jjbrunton committed 2026-08-09 09:54:53 +01:00
1 parent 7db60e8839
commit 50f9f8a6aa
14 files changed
+65 -11

No files matched your search

+2
View File
@@ -168,6 +168,7 @@ export function createConversationsRouter(ctx: WebContext): Router {
title?: string;
url: string;
imageUrl: string | null;
postedAt?: number;
sentAt: number;
} | null = null;
let automatedOpener: string | null = null;
@@ -188,6 +189,7 @@ export function createConversationsRouter(ctx: WebContext): Router {
title: sent.postTitle,
url,
imageUrl: sent.postImageUrl ?? null,
...(sent.postCreatedAt ? { postedAt: sent.postCreatedAt } : {}),
sentAt: sent.sentAt,
};
}