bio for anon voting alt

This commit is contained in:
rimu 2024-09-10 10:34:31 +12:00
parent 4fcdcc0b77
commit 33cd7ebdaf

View file

@ -284,6 +284,7 @@ def user_profile(actor):
if not main_user_name: if not main_user_name:
actor_data['name'] = 'Anonymous' actor_data['name'] = 'Anonymous'
actor_data['published'] = ap_datetime(user.created + timedelta(minutes=randint(-2592000, 0))) actor_data['published'] = ap_datetime(user.created + timedelta(minutes=randint(-2592000, 0)))
actor_data['summary'] = '<p>This is an anonymous alternative account of another account. It has been generated automatically for a Piefed user who chose to keep their interactions private. They cannot reply to your messages using this account, but only upvote (like) or downvote (dislike). For more information about Piefed and this feature see <a href="https://piefed.social/post/205362">https://piefed.social/post/205362</a>.</p>'
if user.avatar_id is not None and main_user_name: if user.avatar_id is not None and main_user_name:
actor_data["icon"] = { actor_data["icon"] = {
"type": "Image", "type": "Image",