@xarvos @farooqkz @gamambel Are you sure that's right? I'm looking through my Mastodon archive, and I can't see who voted for any of my polls.
-
-
-
I also tried to find documentation on this, but failed. The whole thing should be better documented. A vote is an #ActivityPub message -- so where does it end up, if not in the archive?
-
@gamambel @xarvos This is the best description I've found
https://humberto.io/blog/mastodon_poll_in_activitypub/A vote is a message. But unlike a favourite, the result isn't (usually) saved by the sender's server.
There's nothing stopping a receiving server from revealing who voted for what.
-
-
-
-
@gamambel I think we have our terminology backwards.
I post a poll.
You send a vote.
My server receives that vote and increments the counter.
You refresh my post and see the updated count.My server (Mastodon) doesn't tell me who voted for what. But it *could*.
Your server (probably) doesn't record which user voted for what. But it *could*.
-
@Edent @gamambel As an example for the latter:
I'm working on a custom ActivityPub backend for my website. It's early stage, but I'm half-seriously considering federating my software project pages (https://fietkau.software) as polls and let people rate them on a five-star scale. And if you additionally reply to the poll, the site would show your rating (vote) next to your comment, as a "review".
Going back and forth on whether it'd be funny for all involved or violate too many expectations.
-
@Edent According to the website you referred to, Poll is a (non-standard) subtype of Question. With questions, I assume that replies (votes) go to the poll creator, not only to their server. You are saying that the Mastodon server filters out Question replies that contain votes, and does not pass them on to the creator.
-
@gamambel
I am on Mastodon.
When you vote on my polls, I do not see which option you voted for. Nor do I see that you voted at all.Polls are anonymous to the creator.
All I see is the results.
-
Sebastian Lassereplied to Moritz Bartl last edited by
@gamambel @xarvos @farooqkz @Edent
Well, the documentation for this is in the specs.
It is all a `Question` type which can optionally have `oneOf` or `anyOf` if it'a a non-open-question.
Apart from formal spec., there is also a section on how to represent https://www.w3.org/TR/activitystreams-vocabulary/#questionsA sidenote:
It was said that akkoma makes the votes public in the Archive but this must depend on if the inReplyTo was sent as Public https://www.w3.org/TR/activitypub/#client-addressing -
Moritz Bartlreplied to Sebastian Lasse last edited by
@sl007 @xarvos @farooqkz @Edent
You may be right, but it's not obvious to me. Since votes are replies to Questions, it is not inherently clear to me why these messages *directed to me as creator* (?) are not available in my ActivityPub stream. Just because the UI does not expose them, it doesn't tell me if they are really not available. Regardless of Public status or not, since they are replies to *my* Question?
I don't see this being addressed in the spec.
-
@gamambel It isn't a question of the spec, it's about implementation.
There's nothing in the spec which says you have to be notified when someone favourites your post. But, by common convention, you are.