Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure RAW returns empty quoteCount #2990

Merged
merged 2 commits into from
Nov 13, 2024
Merged

Ensure RAW returns empty quoteCount #2990

merged 2 commits into from
Nov 13, 2024

Conversation

estrattonbailey
Copy link
Member

Some folks noticed during the outage earlier today that quoteCount wasn't returned on responses for recently made posts, since those responses were served directly by the PDS via RAW and not the App View (bc outage). This was causing some rendering errors.

So this PR ensures that if we fall back to RAW, the response matches what's expected from getPostThread. Basically, quoteCount should not be undefined.

Copy link
Contributor

@gaearon gaearon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this makes sense to me, i guess would need a changeset? also may need a stamp from @devinivy or @dholms

Copy link
Collaborator

@dholms dholms left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yup yup this LGTM 👍

@estrattonbailey estrattonbailey merged commit 24423fc into main Nov 13, 2024
10 checks passed
@estrattonbailey estrattonbailey deleted the raw-quoteCount branch November 13, 2024 22:01
@github-actions github-actions bot mentioned this pull request Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants