this post was submitted on 04 Jul 2023
6 points (100.0% liked)

Lemmy.ca Support / Questions

522 readers
1 users here now


This community is for support requests specific to lemmy.ca.

If you need to contact an admin privately, please message @[email protected].

If you are a technical user and you have questions or need support with the Lemmy software itself, please visit [email protected].


founded 4 years ago
MODERATORS
 

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 6 points 2 years ago (1 children)

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 2 points 2 years ago

That's good to hear!

[–] [email protected] 3 points 2 years ago* (last edited 2 years ago) (1 children)

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 2 points 2 years ago (1 children)

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.

[–] [email protected] 2 points 2 years ago (1 children)

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 2 points 2 years ago

Fair assumption

load more comments
view more: next ›