From 33cd7ebdaf453550e6e63a050ecf158b3d50078a Mon Sep 17 00:00:00 2001 From: rimu <3310831+rimu@users.noreply.github.com> Date: Tue, 10 Sep 2024 10:34:31 +1200 Subject: [PATCH] bio for anon voting alt --- app/activitypub/routes.py | 1 + 1 file changed, 1 insertion(+) diff --git a/app/activitypub/routes.py b/app/activitypub/routes.py index cdda33be..fa06fe0a 100644 --- a/app/activitypub/routes.py +++ b/app/activitypub/routes.py @@ -284,6 +284,7 @@ def user_profile(actor): if not main_user_name: actor_data['name'] = 'Anonymous' actor_data['published'] = ap_datetime(user.created + timedelta(minutes=randint(-2592000, 0))) + actor_data['summary'] = '
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 https://piefed.social/post/205362.
' if user.avatar_id is not None and main_user_name: actor_data["icon"] = { "type": "Image",