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
    arrow-up
    16
    ·
    6 days ago

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

    • Mannivu
      link
      fedilink
      English
      arrow-up
      7
      arrow-down
      1
      ·
      6 days 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
        arrow-up
        5
        ·
        5 days 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@lemmy.nowsci.com
          link
          fedilink
          English
          arrow-up
          3
          ·
          edit-2
          5 days 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@lemmy.nowsci.com
              link
              fedilink
              English
              arrow-up
              1
              arrow-down
              1
              ·
              5 days 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@lemmy.nowsci.com
                  link
                  fedilink
                  English
                  arrow-up
                  1
                  ·
                  4 days 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.