this post was submitted on 26 Jul 2023
984 points (91.7% liked)

Technology

60087 readers
3898 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] pjhenry1216@kbin.social 36 points 1 year ago (1 children)

You'd want to include your instance as part of your handle. I know, it's not as intuitive as a centralized service, but it is a requirement, especially when sharing the name elsewhere. So, your Lemmy account is chamrsdeluxe@lemmy.world. Folks on lemmy.world don't need that, but folks on another instance (like me) would. I can get it from clicking your username, but there's no way to figure it out for a different platform from here.

[–] TWeaK@lemm.ee 6 points 1 year ago (1 children)

If you type it like this you'll get an instance agnostic link (at least on instances v0.18 and above, not necessarily in apps): /u/ChamrsDeluxe@lemmy.world.

You can also select from a dropdown box on the website to send a mention, however this link goes to their instance rather than your own: @ChamrsDeluxe@lemmy.world. The code for this is [@ChamrsDeluxe@lemmy.world](https://lemmy.world/u/ChamrsDeluxe), you can type this manually and replace any link text in between the square brackets, so generally [link text](https://userinstance/u/user).

The old pre-0.17 instance agnostic links were [link text](/c/community@instance) or [link text](/u/user@instance), but the new versions will automatically generate without link code:

  • /c/community@instance
  • !community@instance
  • /u/user@instance (does not send a mention)

Also, kbin doesn't federate properly. You might not even see this comment over there...

[–] neutron@thelemmy.club 2 points 1 year ago (1 children)

If I'm reading this right there are two ways to indicate a user including its instance:

  • /u/username@example.com
  • @username@example.com

Which one is the recommended one?

[–] TWeaK@lemm.ee 4 points 1 year ago* (last edited 1 year ago)

The first one will generate a link automatically with no code (on lemmy v0.18 and above, not necessarily in apps - it doesn't seem to work in Jerboa currently). This link is instance agnostic, meaning the viewer sees a link in their own instance, rather than the example.com instance. This means you can send them a DM, or open their comments and reply to them.

The second one isn't enough on its own, it needs to be in the form [link text](https://example.com/u/user). However, if you start typing @user@example.com on the website, a pop up box will allow you to select the user and generate the link code for you - it will give you [@user@example.com](https://example.com/u/user). This version is not agnostic, it takes you to the user's instance, however it does send a mention to the user's inbox.

Hopefully in a future update they will combine these two, so that an agnostic link will also send a mention, and so the mention link will auto-generate and be agnostic. Right now, one is for linking to a profile you want to interact with, the other is for calling that person into the thread with a mention.

Edit: Just for a little more fun variation, it looks like Jerboa handles the @user@instance link as if it were instance agnostic. On the website it opens the user's instance.