Upvotes seem to just federate as likes and dislikes.

  • schnurrito@discuss.tchncs.de
    link
    fedilink
    English
    arrow-up
    58
    arrow-down
    1
    ·
    6 days ago

    Yes, after all other servers need this information in order to prevent double voting, you can’t just have servers sending each other information “somebody upvoted this” and also tell when servers are allowing users to vote more than once.

    So upvotes and downvotes aren’t actually private, never have been, some servers may display them publicly even if most don’t.

    • PeriodicallyPedantic@lemmy.ca
      link
      fedilink
      English
      arrow-up
      19
      ·
      edit-2
      6 days ago

      The server hosting the post needs it.

      It only needs to tell other servers the vote count, and the votes of people on that other server.
      That may not be how it actually works, but that’s all that’s needed

      • schnurrito@discuss.tchncs.de
        link
        fedilink
        English
        arrow-up
        18
        ·
        6 days ago

        Yes, but then you can have malicious servers sending fake numbers without other server operators being able to check whether this is at all plausible.

        (It’s still possible for malicious servers to send fake votes, but server operators can see which users they are stated to originate from, then block that server if that looks like it’s doing that. At least that is my understanding.)

        • PeriodicallyPedantic@lemmy.ca
          link
          fedilink
          English
          arrow-up
          4
          arrow-down
          1
          ·
          6 days ago

          What do you mean “send fake votes”?
          Or rather, who do you think should be responsible for identifying and blocking fraudulent votes?

          And how do you reconcile votes that come from servers that you’ve defederated with? Should everyone have the same view of the post, or should people only see votes from servers that their server is federated with? What about votes from users you’ve personally blocked? Etc

          I personally kinda think that the responsibility is on the server hosting the post, and that everyone should see the same (but anonymous) vote count, of which the hosting server is the single source of truth.

        • Wooki@lemmy.world
          link
          fedilink
          English
          arrow-up
          2
          ·
          6 days ago

          It’s only fake numbers for posts on the instance.

          Not the first malicious instance, wont be the last.

    • socsa@piefed.social
      link
      fedilink
      English
      arrow-up
      5
      ·
      edit-2
      5 days ago

      There are plenty of ways to handle double voting without plaintext user strings. The fact that it’s done this way is just lazy and poor design and doesn’t actually do anything to prevent a rogue instance from vote spamming with fake users.

    • Wooki@lemmy.world
      link
      fedilink
      English
      arrow-up
      8
      arrow-down
      1
      ·
      edit-2
      6 days ago

      Over thinking.

      Only the instance with the post needs the username to register the vote, the count can then be updated by the instance. Simple and lightweight