this post was submitted on 04 Jan 2025
28 points (93.8% liked)

Lemmy

12778 readers
64 users here now

Everything about Lemmy; bugs, gripes, praises, and advocacy.

For discussion about the lemmy.ml instance, go to !meta@lemmy.ml.

founded 5 years ago
MODERATORS
 

From mastodon to follow an account or a community on lemmy you use the @name@server format and there is no difference between a community name and a user-name

so i was wondering if anyone tried and checked what happened

you are viewing a single comment's thread
view the rest of the comments
[–] PhilipTheBucket@ponder.cat 1 points 1 month ago

why would you be searching for it? You already have it!

Because the search UI is how Lemmy chooses to expose the concept of resolving a network resource which you may or may not already have synced to your instance. That's, arguably but not definitively to me, a design bug separate from the original design bug I was talking about, or whatever it is that's causing it not to work right now.

You can see by opening up the developer tools and doing a search for world@lemmy.world. It'll submit two requests: One to /api/v3/search, and one to /api/v3/resolve_object. For whatever reason, that second call is only returning the user @world@lemmy.world, but not the community, for me right now. Am I misremembering somehow? This is how I have always located communities, to subscribe to them, when I'm not sure whether they already exist on my server. Typing the full URL https://lemmy.world/c/world still works, and returns what you would expect in the response.

I didn't choose to put that functionality in the "search" UI. The Lemmy developers did. I kind of get the idea behind it, I'm not 100% sure it's a design flaw, but it was definitely surprising to me to find it there, originally.

So tell me: If I "already know the user or community I'm looking for," I know what to type, but it might not exist on my server... how do I subscribe to it? What UI do I use? I know of one answer; if you know of a different answer than the one I'm aware of, it will be news to me.