Skip to content

fix: Handle quotes on Friendica/Akkoma servers#2133

Merged
nikclayton merged 4 commits intopachli:mainfrom
nikclayton:2043-akkoma-quotes
Feb 23, 2026
Merged

fix: Handle quotes on Friendica/Akkoma servers#2133
nikclayton merged 4 commits intopachli:mainfrom
nikclayton:2043-akkoma-quotes

Conversation

@nikclayton
Copy link
Copy Markdown
Contributor

Friendica and Akkoma servers exposed quotes in the API before Mastodon did, and Mastodon does not use the same representation for quotes.

On Friendica servers the quote can be assumed to be accepted, so introduce a new Status.QuoteState.ASSUMED_ACCEPTED to cover that case.

In Akkoma servers the quote is represented quite differently. Treat this as a shallow quote, and then try and resolve all shallow quotes when fetching statuses.

Fixes #2043

Friendica and Akkoma servers exposed quotes in the API before Mastodon did, and
Mastodon does not use the same representation for quotes.

On Friendica servers the quote can be assumed to be accepted, so introduce a
new `Status.QuoteState.ASSUMED_ACCEPTED` to cover that case.

In Akkoma servers the quote is represented quite differently. Treat this as a
shallow quote, and then try and resolve all shallow quotes when fetching
statuses.

Fixes pachli#2043
@nikclayton nikclayton merged commit b7f1728 into pachli:main Feb 23, 2026
27 checks passed
@nikclayton nikclayton deleted the 2043-akkoma-quotes branch February 23, 2026 22:51
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.

[friendica] Required value "state" missing?

1 participant