Skip to content

Conversation

@Nutomic
Copy link
Member

@Nutomic Nutomic commented Jan 27, 2026

For community use content for sidebar (markdown, long text) and summary for short description (150 chars, plaintext).

For multi-community use preferred_username, name in the same way as community. Use summary for the short description. Note that multi-community currently doesnt have a sidebar with markdown/long description and so no content.

Tested this with Lemmy 0.19 and the sidebar gets set correctly. However it also uses the same sidebar text (from summary) as short description, which is shown with HTML tags. So we should ignore summaries which contain <p>. With communities fetched from Piefed its the same. NodeBB doesnt have source, so if we filter out summary containing HTML we wouldnt get any description text. Peertube also uses summary for the long description (seems to be plaintext).

To be consistent, person.summary should also be called content. But in fact Mastodon uses summary with HTML content (and no source field).

Overall I'm unsure if this is the right direction. It results in incompatibility between different versions and platforms which cannot be resolved cleanly.

Requires #6295

TODO:

@Nutomic Nutomic force-pushed the multi-comm-apub-rename branch from 680201b to 1281df2 Compare January 27, 2026 09:42
@Nutomic Nutomic changed the title Change name to preferred_username for multi-comm federation Rename federation fields for multi-community Jan 27, 2026
@Nutomic Nutomic force-pushed the multi-comm-apub-rename branch from 1281df2 to 5ead5f6 Compare January 27, 2026 09:50
@Nutomic Nutomic marked this pull request as draft January 27, 2026 09:52
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.

1 participant