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

Testing and minor fix for federation with Discourse #4628

Merged
merged 4 commits into from May 2, 2024

Conversation

Nutomic
Copy link
Member

@Nutomic Nutomic commented Apr 15, 2024

Added some federation objects from Discourse to our tests to ensure that they get parsed successfully. Only a minor change was necessary. Its still possible that there are other things which are incompatible.

Notably Discourse doesnt federate the full content of posts but only the first x characters. I consider this completely broken, because its impossible for Lemmy to retrieve the full post content and it doesnt make sense having to visit an external site. If certain implementations like Mastodon only want to show a limited amount of text, they can do that on the receiving side.

See https://meta.discourse.org/t/federation-support-for-discourse/90921/87

@Nutomic Nutomic force-pushed the discourse-federation branch 2 times, most recently from 4b0038a to 583add8 Compare April 15, 2024 10:46
@angusmcleod
Copy link

Notably Discourse doesnt federate the full content of posts but only the first x characters. I consider this completely broken, because its impossible for Lemmy to retrieve the full post content and it doesnt make sense having to visit an external site. If certain implementations like Mastodon only want to show a limited amount of text, they can do that on the receiving side.

Note that this behaviour is configurable. It's default is a 500 char limit because that is the Mastodon default. See further

https://socialhub.activitypub.rocks/t/federating-the-content-of-posts-note-articles-and-text-limits/4087

@Nutomic Nutomic merged commit 7746db4 into main May 2, 2024
2 checks passed
@SleeplessOne1917 SleeplessOne1917 deleted the discourse-federation branch May 2, 2024 12:09
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.

None yet

3 participants