this post was submitted on 17 Aug 2023
47 points (100.0% liked)
Programming.dev Meta
2478 readers
1 users here now
Welcome to the Programming.Dev meta community!
This is a community for discussing things about programming.dev itself. Things like announcements, site help posts, site questions, etc. are all welcome here.
Links
Credits
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
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.
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.
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.
I believe there is an API to create a local copy, but I'm not sure