Two9A@lemmy.worldtoMildly Infuriating@lemmy.world•I found a nice and easy lemmy bug to fix, but someone beat me to it by 18 hours.English
1·
1 year agoI had this exact thing with Mastodon a few days ago. Couldn’t find a way to get the local server’s post-ID for a federated post if you had the original URL, so I thought “screw it, I’ll do it myself”.
Downloaded the source, set up a local instance, added extra space to my server so I could run ElasticSearch, went to the file where I wanted to add my “uri:” search prefix, and I find (to paraphrase)…
Send
resolve=true
to fetch remote instances and return their local ID
Been there for years.
For real though, the shortest license is probably the WTFPL:
Might’ve used it a couple of times myself.