main
Bob Mottram 2023-08-22 18:15:36 +01:00
parent ed742cd1f1
commit 2c7b1abb45
1 changed files with 2 additions and 1 deletions

View File

@ -2142,7 +2142,8 @@ def add_shares_to_actor(base_dir: str,
nickname: str, domain: str, nickname: str, domain: str,
actor_json: {}, actor_json: {},
max_shares_on_profile: int) -> bool: max_shares_on_profile: int) -> bool:
"""Adds shared items to the given actor """Adds shared items to the given actor attachments
https://codeberg.org/fediverse/fep/src/branch/main/fep/0837/fep-0837.md
""" """
if 'attachment' not in actor_json: if 'attachment' not in actor_json:
actor_json['attachment'] = [] actor_json['attachment'] = []