bluesky-social / atproto

Social networking technology created by Bluesky
Other
7.2k stars 510 forks source link

Ensure RAW returns empty quoteCount #2990

Closed estrattonbailey closed 1 week ago

estrattonbailey commented 1 week ago

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.