Skip Navigation

Does the MXID in Lemmy's 'Matrix User' field actually show up or get used?

I've always found the Matrix User option that Lemmy has quite interesting, but I have noticed that...it does not even show up anywhere?

The fact this option exists is cool, but what is the use if it doesn't show up anywhere?

2
2 comments
  • It should display a "Send Secure Message" button when viewing a user's profile.

  • I think it's typically hidden by UIs for privacy reasons, but you could see it via something like:
    curl --header 'accept: application/activity+json' --location https://sopuli.xyz/u/cyrus | jq -r .matrixUserId
    or
    curl --header 'accept: application/json' 'https://sopuli.xyz/api/v3/user?username=cyrus' | jq -r .person_view.person.matrix_user_id

    As the other comment says, backends hook into Matrix if someone uses the 'Send Secure Message' option to contact you (I don't think that option shows if you don't both have a Matrix ID).