main
Bob Mottram 2025-03-31 11:22:40 +01:00
parent 03750121c2
commit 69211204cd
1 changed files with 3 additions and 1 deletions

View File

@ -584,12 +584,14 @@ def get_shares_feed_for_person(base_dir: str,
next_page_number = int(page_number + 1)
id_str = local_actor_url(http_prefix, nickname, domain)
shares_collection_id = \
id_str + '/' + shares_file_type + '?page=' + str(page_number)
shares = {
"@context": [
'https://www.w3.org/ns/activitystreams',
'https://w3id.org/security/v1'
],
'id': id_str + '/' + shares_file_type + '?page=' + str(page_number),
'id': shares_collection_id,
'orderedItems': [],
'partOf': id_str + '/' + shares_file_type,
'totalItems': 0,