mirror of
https://codeberg.org/rimu/pyfedi
synced 2025-01-23 19:36:56 -08:00
bio for anon voting alt
This commit is contained in:
parent
4fcdcc0b77
commit
33cd7ebdaf
1 changed files with 1 additions and 0 deletions
|
@ -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",
|
||||||
|
|
Loading…
Add table
Reference in a new issue