LemmyNet / lemmy

🐀 A link aggregator and forum for the fediverse
https://join-lemmy.org
GNU Affero General Public License v3.0
13.29k stars 884 forks source link

Question: Should Crossposting be handled differently? #3827

Closed SleeplessOne1917 closed 1 year ago

SleeplessOne1917 commented 1 year ago

Question

Currently, crossposting works in a way that I find unintuitive.

If you make a post in a community that has the same URL as a post in another community, it will be marked as a crosspost regardless of whether the user clicked the crosspost button. This can be seen here.

Likewise, if you crosspost a post that doesn't have a URL, it will not be marked as a crosspost. Compare this lemmygrad post that I crossposted from lemmy.ml.

Is this an intentional decision on the maintainers' part, or is this a bug? If it is a deliberate decision, should it be changed anyway?

dessalines commented 1 year ago

The post URL is the "link" that connects cross-posts, not the lemmy ids. There's probably different ways to link posts besides their URL, but I'm not sure what that'd be.

The bonus of that is that news articles, images, everything can be properly connected, regardless of place or time.

The negative is that text-posts without URLs don't appear as cross-posts.

maegul commented 1 year ago

From a user's perspective:

Nutomic commented 1 year ago

Crossposts dont really exist in the Lemmy backend. All it does is, when retrieving a post with GET /api/v3/post, perform a search for posts with the same url and include them in the result. So its not related to the crosspost button in the ui at all, and there is no way to represent text-only crossposts. For enhancements in this area open a new issue or check existing ones.