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

  • @catloaf@lemm.ee
    link
    fedilink
    English
    163 months ago

    On Lemmy? Nothing, works fine. On Mastodon? Not sure, maybe someone in a Mastodon community would know.

    • Mannivu
      link
      fedilink
      English
      63 months ago

      They would be identified by their instance. You can’t have two identical usernames in the same instance. So you won’t have John@mastodon.social twice. Buy you could have John@mastodon.social and John@mastodon.world, for example.

      • @sugar_in_your_tea@sh.itjust.works
        link
        fedilink
        English
        53 months ago

        That’s not the question though. The question is what if I make a user called “@Lemmy@lemmy.ml” (i.e. this community)? That’s probably allowed on Lemmy, but since Mastodon doesn’t have the concept of communities in nearly the same way, what would happen?

        • fmstrat
          link
          fedilink
          English
          3
          edit-2
          3 months ago

          That’s not how Lemmy works. Lemmy uses Actor URLs of https://host.tld/u/user which is referenced via @user@host.tld, and communities are https://host.tld/c/community referenced as !community@host.tld. So there is no overlap.

          @ex_06@slrpnk.net

          !lemmy@lemmy.ml

            • fmstrat
              link
              fedilink
              English
              03 months ago

              I don’t follow… Lemmy and Mastodon both require port 443, so a single hostname of lemmy.ml can’t run both. Lemmy and Mastodon handle users the same way, just Mastodon doesn’t have !communities.

                • fmstrat
                  link
                  fedilink
                  English
                  03 months ago

                  Ohhhh. My understanding is initial @ in Mastodon is only required for users, and would default to user over community, while leaving off the initial @ would do community. I have not validated that in the source, though.