Skip to content

Commit

Permalink
Ensure RAW returns empty quoteCount (#2990)
Browse files Browse the repository at this point in the history
* Ensure RAW returns empty quoteCount

* Add changeset
  • Loading branch information
estrattonbailey authored Nov 13, 2024
1 parent 48d08a4 commit 24423fc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/fuzzy-wolves-speak.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@atproto/pds": patch
---

Ensure read-after-write handles `quoteCount` for `getPostThread` responses.
1 change: 1 addition & 0 deletions packages/pds/src/read-after-write/viewer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ export class LocalViewer {
likeCount: 0, // counts presumed to be 0 directly after post creation
replyCount: 0,
repostCount: 0,
quoteCount: 0,
author,
record,
embed: embed ?? undefined,
Expand Down

0 comments on commit 24423fc

Please sign in to comment.