Fix timeline crash on the Mastodon quote entity #3596

Merged
hj merged 2 commits from fix/mastodon-quote-entity into develop 2026-11-02 17:38:36 +00:00

Backend develop (3890fbc12) now sends quote as a Mastodon 4.4+ entity: {state, quoted_status}, or {state, quoted_status_id} for nested quotes. When pleroma.quote is empty (deleted, hidden or nested quote), parseStatus parsed the wrapper as a status and crashed on the missing account, so the whole timeline page failed ("Error fetching timeline").

parseStatus now reads the quoted status out of the entity and keeps the id of shallow quotes. A quote that is a plain status (Akkoma) still works.

Testing: new entity normalizer tests (3 fail on develop), yarn unit-ci, yarn build. Running on lain.com and pleroma.soykaf.com.

Backend develop (3890fbc12) now sends `quote` as a Mastodon 4.4+ entity: `{state, quoted_status}`, or `{state, quoted_status_id}` for nested quotes. When `pleroma.quote` is empty (deleted, hidden or nested quote), `parseStatus` parsed the wrapper as a status and crashed on the missing account, so the whole timeline page failed ("Error fetching timeline"). `parseStatus` now reads the quoted status out of the entity and keeps the id of shallow quotes. A `quote` that is a plain status (Akkoma) still works. Testing: new entity normalizer tests (3 fail on develop), `yarn unit-ci`, `yarn build`. Running on lain.com and pleroma.soykaf.com.
fix(statuses): read the Mastodon quote entity
All checks were successful
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/changelog Pipeline was successful
ci/woodpecker/pr/lint Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful
ci/woodpecker/pr/test-e2e Pipeline was successful
f96bc52cfe
hj approved these changes 2026-10-30 12:50:47 +00:00
Member

fuck i forgot about this MR

fuck i forgot about this MR
Merge branch 'develop' into fix/mastodon-quote-entity
All checks were successful
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/changelog Pipeline was successful
ci/woodpecker/pr/lint Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful
ci/woodpecker/pr/test-e2e Pipeline was successful
ec2822d7cf
hj merged commit 78c47e62ac into develop 2026-11-02 17:38:36 +00:00
hj deleted branch fix/mastodon-quote-entity 2026-11-02 17:38:36 +00:00
Owner

confirmed this worked, thx all

confirmed this worked, thx all
Sign in to join this conversation.
No reviewers
hj
No milestone
No project
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
pleroma/pleroma-fe!3596
No description provided.