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

  • PhilipTheBucket@ponder.cat
    link
    fedilink
    English
    arrow-up
    11
    arrow-down
    1
    ·
    6 days ago

    What should happen: The backend checks if you’re trying to create a community that has the same name as a user, or vice versa, and refuses to do it because that would be confusing, since a lot of ways of referring to an entity on Lemmy use the exact same format for the user and the community.

    What does happen: Have fun with confusing!

      • PhilipTheBucket@ponder.cat
        link
        fedilink
        English
        arrow-up
        9
        ·
        6 days ago

        I made an SMTP server that treats email addresses as case sensitive. When it gets mail for Philip@ponder.cat, it refuses to deliver it to philip@ponder.cat, and it allows users to create himbo@ponder.cat and Himbo@ponder.cat as two distinct addresses. Within my server, it’s not confusing at all. Outside of my server, there be dragons.

        • Billegh@lemmy.world
          link
          fedilink
          English
          arrow-up
          1
          ·
          6 days ago

          You joke, but gmail does this with dots in email. There is no difference to gmail between fartmaster@gmail.com and f.a.r.t.m.a.s.t.e.r@gmail.com. Not really any dragons here, but can create confusion if you’re unaware.

          • Björn Tantau@swg-empire.de
            link
            fedilink
            English
            arrow-up
            2
            ·
            6 days ago

            Nah, Gmail does the exact opposite of what their server does. Gmail is extra lenient with how an address may look. While their server is extra strict.

            • PhilipTheBucket@ponder.cat
              link
              fedilink
              English
              arrow-up
              3
              ·
              5 days ago

              Correct. Gmail is doing it right, by anticipating how their server’s behavior might confuse people or lead to email going to the wrong mailbox, and making extra complexity to make sure the behavior makes sense. Lemmy is doing it wrong, in this instance.

    • fmstrat@lemmy.nowsci.com
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      4 days ago

      What formats are the same? Users are /u and @ while communities are /c and !. No overlap to check for. Mastodon is where the confusion comes in.