Show Reddit post age in conversations
This commit is contained in:
1 parent
7db60e8839
commit
50f9f8a6aa
14 files changed
+65
-11
No files matched your search
@@ -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,
|
||||
};
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user