Skip to content

Commit

Permalink
Add approved time in optimistic post data
Browse files Browse the repository at this point in the history
  • Loading branch information
teodorus-nathaniel committed Jul 12, 2024
1 parent 5a99d8b commit f125368
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/services/subsocial/commentIds/optimistic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ export function addOptimisticData({
id: newId,
struct: {
createdAtTime: Date.now(),
approvedInRootPostAtTime: Date.now(),
ownerId: address,
rootPostId: params.chatId,
parentPostId: params.replyTo,
Expand Down

0 comments on commit f125368

Please sign in to comment.