Salta al contenuto
0
  • Home
  • Piero Bosio
  • Blog
  • Mondo
  • Fediverso
  • News
  • Categorie
  • Old Web Site
  • Recenti
  • Popolare
  • Tag
  • Utenti
  • Home
  • Piero Bosio
  • Blog
  • Mondo
  • Fediverso
  • News
  • Categorie
  • Old Web Site
  • Recenti
  • Popolare
  • Tag
  • Utenti
Skin
  • Chiaro
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Scuro
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Predefinito (Nessuna skin)
  • Nessuna skin
Collassa

Piero Bosio Social Web Site Personale Logo Fediverso

Social Forum federato con il resto del mondo. Non contano le istanze, contano le persone
  1. Home
  2. Categorie
  3. Fediverse
  4. If a Lemmy user has the same name as a community, how can I tag the community on Mastodon?

If a Lemmy user has the same name as a community, how can I tag the community on Mastodon?

Pianificato Fissato Bloccato Spostato Fediverse
21 Post 7 Autori 76 Visualizzazioni
  • Da Vecchi a Nuovi
  • Da Nuovi a Vecchi
  • Più Voti
Rispondi
  • Risposta alla discussione
Effettua l'accesso per rispondere
Questa discussione è stata eliminata. Solo gli utenti con diritti di gestione possono vederla.
  • die4ever@retrolemmy.com die4ever@retrolemmy.com

    What if the community was the first entry in the results instead of the user? Maybe that's more appropriate and might cause Mastodon to default to the community when there's a conflict

    rglullis@communick.news
    rglullis@communick.news
    rglullis@communick.news
    scritto su ultima modifica di
    #12

    That might work, but it's never a good idea to write your code against a specific implementation. Plus, it seems that in this case the Lemmy devs shot themselves in the foot: why allow to create two different types of actors with the same name?!

    die4ever@retrolemmy.com 1 Risposta Ultima Risposta
    0
    • rglullis@communick.news
      rglullis@communick.news
      rglullis@communick.news
      scritto su ultima modifica di
      #13

      I sound like a broken record, but none of this would happen if the devs took a good look at RDF before throwing everything into objects/classes and ORMs.

      I'm working on something that aims to be compatible with Lemmy's API, and my models are based on the context definitions first. This means that it becomes impossible to have communities and users with the preferred_username, because they are both actors.

      1 Risposta Ultima Risposta
      0
      • rglullis@communick.news rglullis@communick.news

        That might work, but it's never a good idea to write your code against a specific implementation. Plus, it seems that in this case the Lemmy devs shot themselves in the foot: why allow to create two different types of actors with the same name?!

        die4ever@retrolemmy.com
        die4ever@retrolemmy.com
        die4ever@retrolemmy.com
        scritto su ultima modifica di
        #14

        I agree. Users shouldn't be allowed to choose a name that already exists as a community. But it would be a shame if communities could not be created because a user with that name already exists.

        rglullis@communick.news 1 Risposta Ultima Risposta
        0
        • die4ever@retrolemmy.com die4ever@retrolemmy.com

          I agree. Users shouldn't be allowed to choose a name that already exists as a community. But it would be a shame if communities could not be created because a user with that name already exists.

          rglullis@communick.news
          rglullis@communick.news
          rglullis@communick.news
          scritto su ultima modifica di
          #15

          I think this is yet-another reason to have a separation between users and communities at the instance/domain level.

          Setting up a server should require one top-level domain and two subdomains:

          • https://myserver.com/ would be for webfinger and the actual backend.
          • https://groups.myserver.com/ would be the subdomain for the AS2.Group actors
          • https://people.myserver.com/ would be the subdomain for the AS2.Person actor
          1 Risposta Ultima Risposta
          0
          • rimu@piefed.social
            rimu@piefed.social
            rimu@piefed.social
            scritto su ultima modifica di
            #16

            Regardless of how webfinger is supposed to work, Lemmy has now got a situation where there are many many overlapping actors. I don't see a clean way out of this for them so it'll probably persist.

            Lucky this came up because I have been meaning to make PieFed work the same as Lemmy, with multiple actors in the webfinger response!

            julian@activitypub.space 1 Risposta Ultima Risposta
            0
            • rimu@piefed.social rimu@piefed.social

              Regardless of how webfinger is supposed to work, Lemmy has now got a situation where there are many many overlapping actors. I don't see a clean way out of this for them so it'll probably persist.

              Lucky this came up because I have been meaning to make PieFed work the same as Lemmy, with multiple actors in the webfinger response!

              julian@activitypub.space
              julian@activitypub.space
              julian@activitypub.space
              scritto su ultima modifica di
              #17

              By the time it (unique handles between users and categories) was needed, NodeBB had been around for 10 years and installed in countless places.

              It needed to be done in one fell swoop so we coded an upgrade script that prioritized the user slug (as historically it had been around longer).

              Hopefully the only thing you really have to federate out is an Update, but who knows what'll happen.

              1 Risposta Ultima Risposta
              0
              • rimu@piefed.social
                rimu@piefed.social
                rimu@piefed.social
                scritto su ultima modifica di
                #18

                https://github.com/LemmyNet/lemmy/issues/1922

                Unlikely to change. I found a more recent issue that was closed with a link going to that one, so they've been over this multiple times over the years and don't want to budge.

                PieFed will continue to disallow communities and feeds to have the same name as users, that will maximize compatibility.

                1 Risposta Ultima Risposta
                0
                • tuckerm@feddit.online tuckerm@feddit.online

                  I think that's just a way of getting a link to the community, but it doesn't actually tag the community in your post or make it get posted into that community. I just tried it, and the post does not show up in the community that I mentioned with !.

                  yo_scottie_oh@lemmy.ml
                  yo_scottie_oh@lemmy.ml
                  yo_scottie_oh@lemmy.ml
                  scritto su ultima modifica di
                  #19

                  Is there no way for an app to say "give me the community only" or "give me the user only" when it calls the webfinger lookup thingy? Because if there is, then Mastodon devs could update the behavior on their side to depend on whether the name starts with @ or ! (the same way Lemmy apps do).

                  1 Risposta Ultima Risposta
                  0
                  • yo_scottie_oh@lemmy.ml
                    yo_scottie_oh@lemmy.ml
                    yo_scottie_oh@lemmy.ml
                    scritto su ultima modifica di
                    #20

                    I also posted this question in another comment thread, but is there no way for an app to say "give me communities only" or "give me users only" when calling the webfinger lookup thingy? Because if there is, then Mastodon devs could update the behavior on their side to depend on whether the name starts with @ or ! (the same way Lemmy apps do).

                    julian@activitypub.space 1 Risposta Ultima Risposta
                    0
                    • yo_scottie_oh@lemmy.ml yo_scottie_oh@lemmy.ml

                      I also posted this question in another comment thread, but is there no way for an app to say "give me communities only" or "give me users only" when calling the webfinger lookup thingy? Because if there is, then Mastodon devs could update the behavior on their side to depend on whether the name starts with @ or ! (the same way Lemmy apps do).

                      julian@activitypub.space
                      julian@activitypub.space
                      julian@activitypub.space
                      scritto su ultima modifica di
                      #21

                      Nope, it's just a.single route, no filters or qualifiers I am aware of.

                      One could go through the returned accounts and see which are users and which are groups, although that's expensive and time consuming to do.

                      1 Risposta Ultima Risposta
                      0

                      Ciao! Sembra che tu sia interessato a questa conversazione, ma non hai ancora un account.

                      Stanco di dover scorrere gli stessi post a ogni visita? Quando registri un account, tornerai sempre esattamente dove eri rimasto e potrai scegliere di essere avvisato delle nuove risposte (tramite email o notifica push). Potrai anche salvare segnalibri e votare i post per mostrare il tuo apprezzamento agli altri membri della comunità.

                      Con il tuo contributo, questo post potrebbe essere ancora migliore 💗

                      Registrati Accedi
                      Rispondi
                      • Risposta alla discussione
                      Effettua l'accesso per rispondere
                      • Da Vecchi a Nuovi
                      • Da Nuovi a Vecchi
                      • Più Voti


                      • 1
                      • 2
                      Feed RSS
                      If a Lemmy user has the same name as a community, how can I tag the community on Mastodon?
                      @pierobosio@soc.bosio.info
                      NodeBB Contributors
                      • Accedi

                      • Accedi o registrati per effettuare la ricerca.
                      • Primo post
                        Ultimo post