Comment on Programming.Dev Feature Requests
Ategon@programming.dev 1 year agoYeah no idea how that would be connected. I know theres an extension that does it so I might need to look at the source for that
Comment on Programming.Dev Feature Requests
Ategon@programming.dev 1 year agoYeah no idea how that would be connected. I know theres an extension that does it so I might need to look at the source for that
canpolat@programming.dev 1 year ago
I believe there is an API to convert such a link, but detecting that a link is going to a Lemmy instance might be difficult (or non-elegant).
cacheson@kbin.social 1 year ago
Should be able to just compare against the list of known instances. It'll miss the ones that aren't connected yet, but that should fix itself once someone subscribes to a remote community on the missing instance.
canpolat@programming.dev 1 year ago
Yeah, that’s what I meant by non-elegant. I think the way Lemmy assigns IDs to posts and comments should be re-thought. Dictionary lookup is a solution, but not a good one.
cacheson@kbin.social 1 year ago
Hmm, yeah, I see what you mean. Wasn't thinking about having to convert the IDs. Plus the actual local copy of the post needs to be available, not just a connection to the remote instance.