45
submitted 1 year ago* (last edited 1 year ago) by ada@lemmy.blahaj.zone to c/lemmy@lemmy.ml

Lets say that an instance doesn't allow downvotes called NoDownvotesInstance. That instance hosts a community called NoDownvotesCommunity.

Now, lets say someone on another instance that does allow downvotes places a downvote on a post made to NoDownvotesCommunity. Does NoDownvotesInstance federate that downvote out so that other instance with downvotes can see it, or does it just drop the downvote so that it goes no further?

Edit - @pe1uca@lemmy.pe1uca.dev has answered this, with evidence. Despite the highest upvoted reply suggesting otherwise, it appears as that instances with disabled downvotes do not federate downvotes on.

top 10 comments
sorted by: hot top controversial new old
[-] BrooklynMan@lemmy.ml 20 points 1 year ago

votes are federated. instances that don't support downvotes only display upvotes.

[-] Taxxor@lemm.ee 4 points 1 year ago

But do they just don’t display them or do they really don’t use them, like could you change the „top“ sorting of any NoDownvotesCommunity just by accessing it from another instance and place downvotes

[-] ada@lemmy.blahaj.zone 7 points 1 year ago

Downvotes are simply not part of the algorithm on instances that disable them

[-] BrooklynMan@lemmy.ml 3 points 1 year ago

if you're on an instance that does not support downvotes, it only displays upvotes. if you're on an instance which does support downvotes it displays both. I'm not really sure how I'm being unclear.

[-] deweydecibel@lemmy.ml 12 points 1 year ago* (last edited 1 year ago)

They're asking about the total score. The better way to explain it is that there is not a total score, there is just the upvote count listed as the score. Downvotes and the calculated score based on upvote/downvotes are ignored.

[-] Taxxor@lemm.ee 4 points 1 year ago* (last edited 1 year ago)

You said they don’t display the downvotes, I asked if the algorithm that does the sorting still uses them (since they’re federated so the info is technically there and can be seen by other instances) or if it also ignores them.

But the question has now been answered below so it’s all clear

[-] ada@lemmy.blahaj.zone 1 points 1 year ago* (last edited 1 year ago)

Right. Which is why I assume that even downvotes get federated by instances that disable downvotes. But I was hoping for something more solid than an assumption :)

[-] pe1uca@lemmy.pe1uca.dev 10 points 1 year ago* (last edited 1 year ago)

I think is the latter.
IIRC in the code when receiving the downvote the instance just rejects it.
So only in the instance where it was generated gets recorded.

Edit: here's the rejection message. I can't see the whole flow since I'm not at my PC, but it's inside a verify function, so I assume it gets called right when the activity is received before being processed.
https://github.com/LemmyNet/lemmy/blob/main/crates/apub/src/activities/voting/vote.rs#L66

[-] ada@lemmy.blahaj.zone 5 points 1 year ago

Thanks! That's my going to create some interesting variations in viewing across instances. If you're on a mega instance that allows downvotes, you'll presumably still see at least some downvotes

[-] lvxferre@lemmy.ml 5 points 1 year ago

[Meta/off-topic] Thank you for adding "answered" to the thread title. This should be common practice.

load more comments
view more: next ›
this post was submitted on 25 Jun 2023
45 points (100.0% liked)

Lemmy

11948 readers
12 users here now

Everything about Lemmy; bugs, gripes, praises, and advocacy.

For discussion about the lemmy.ml instance, go to !meta@lemmy.ml.

founded 4 years ago
MODERATORS