mirror of
https://codeberg.org/rimu/pyfedi
synced 2025-02-03 00:31:25 -08:00
Actor for undo section of undo/vote was missing Alt username logic
This commit is contained in:
parent
0d8058229c
commit
3ff54c54da
1 changed files with 1 additions and 1 deletions
|
@ -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(),
|
||||
|
|
Loading…
Add table
Reference in a new issue