Actor for undo section of undo/vote was missing Alt username logic

This commit is contained in:
freamon 2024-08-20 01:33:33 +00:00
parent 0d8058229c
commit 3ff54c54da

View file

@ -509,7 +509,7 @@ def comment_vote(comment_id, vote_direction):
if not comment.community.local_only:
if undo:
action_json = {
'actor': current_user.public_url(),
'actor': current_user.public_url(not(comment.community.instance.votes_are_public() and current_user.vote_privately())),
'type': 'Undo',
'id': f"https://{current_app.config['SERVER_NAME']}/activities/undo/{gibberish(15)}",
'audience': comment.community.public_url(),