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?

  • DABDA@lemm.ee
    link
    fedilink
    English
    arrow-up
    9
    ·
    6 months ago

    It should display a “Send Secure Message” button when viewing a user’s profile.

  • Andrew@piefed.social
    link
    fedilink
    arrow-up
    4
    ·
    edit-2
    6 months ago

    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).