From f1253688ff88587b12a3f50c0052d1e0af1195ac Mon Sep 17 00:00:00 2001 From: teodorus-nathaniel Date: Sat, 13 Jul 2024 01:33:18 +0700 Subject: [PATCH] Add approved time in optimistic post data --- src/services/subsocial/commentIds/optimistic.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/services/subsocial/commentIds/optimistic.ts b/src/services/subsocial/commentIds/optimistic.ts index 9718c380a..cb0ad099a 100644 --- a/src/services/subsocial/commentIds/optimistic.ts +++ b/src/services/subsocial/commentIds/optimistic.ts @@ -39,6 +39,7 @@ export function addOptimisticData({ id: newId, struct: { createdAtTime: Date.now(), + approvedInRootPostAtTime: Date.now(), ownerId: address, rootPostId: params.chatId, parentPostId: params.replyTo,