ZeroTalk
ZeroTalk copied to clipboard
You shouldn't be able to upvote yourself
While it could be filtered on client-side, but for example facebook or disqus also allows to like your own comment/post.
Maybe setting the upvote to 0 by default would be more better solution
I'm not using facebook because of privacy issues, but I didn't know that they allow upvoting yourself. So yes setting upvote to 0 by default would be better
@TheNain38 Yeah, it would make the most sense to set default upvote to 0 and continue allowing users to upvote their own content. Also, just bumping this issue. :+1:
Agreed :+1:
The upvote should be by default, that is how reddit does it, and I would suspect most users would just upvote their own post anyway, it also makes it easier to find your own posts since you will see the green vote counter.
@Codes4Fun it sounds like there are several suggested features:
- Prevent being able to upvote yourself, suggested by @TheNain38 (and the title of this issue).
- Set the default count to 0, suggested by @HelloZeroNet as a counter to @TheNain38's request.
- Automatically upvote your comment or thread (like Reddit), as suggested by you.
I am going to move forward with @HelloZeroNet's suggestion: setting the default count to 0, but still letting yourself upvote your own comments.
If we still want Reddit-like auto-voting, then we can make a separate issue for that.
Here are the bits of logic to update to set the default count back to 0.
Just remove the +1
from these subqueries:
@HelloZeroNet Any thoughts on this?