6

I keep seeing posts without upvotes/downvotes in my feed that I am sure I've voted. It's possible that I voted them on a different client on my phone.

I would think that this persists across clients/pages, is this not the case?

top 6 comments
sorted by: hot top controversial new old
[-] smorks@lemmy.ca 6 points 1 year ago

yes, it should persist across clients/pages. many mobile clients are fairly early in development so there is a good possibility that there's bugs.

[-] anonymoose@lemmy.ca 2 points 1 year ago

That's good to hear!

[-] hawkwind@lemmy.management 3 points 1 year ago* (last edited 1 year ago)

This is like 60% educated guess and I didn't bother to research, but I think your client (website, app, etc.) is responsible for keeping track of what you upvote temporarily rather than asking the server. The server just returns the total counts to clients. However, the server DOES track it, and even if your client lets you upvote again, it doesn't actually affect the total count.

For federation, your local instance may also "keep track," but same rules apply. You can only vote once, even if (because of the implementation) it might seem otherwise.

[-] anonymoose@lemmy.ca 2 points 1 year ago

Yeah, that's what it feels like for sure. I would hope that eventually the API responds with my vote status too to all clients.

[-] hawkwind@lemmy.management 2 points 1 year ago

Total speculation. I just assume the implementation tries to avoid users querying the source database for every single users vote status. At best I can see it increasing the count, decreasing the count or denying those.

[-] anonymoose@lemmy.ca 2 points 1 year ago

Fair assumption

load more comments
view more: next ›
this post was submitted on 04 Jul 2023
6 points (100.0% liked)

Lemmy.ca Support / Questions

480 readers
1 users here now

Support / Questions specific to lemmy.ca.

For support / questions related to the lemmy software itself, go to !lemmy_support@lemmy.ml

founded 3 years ago
MODERATORS