From 01a8ab59f5a6eebea62cc07a40017b1ce52efc10 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 29 Mar 2024 15:24:22 +0000 Subject: [PATCH] cc should be a list --- posts.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/posts.py b/posts.py index 8f1a3ad65..3c9f1a660 100644 --- a/posts.py +++ b/posts.py @@ -3323,7 +3323,7 @@ def _add_followers_to_public_post(post_json_object: {}) -> None: if post_json_object.get('cc'): return actor_url = get_actor_from_post(post_json_object) - post_json_object['cc'] = actor_url + '/followers' + post_json_object['cc'] = [actor_url + '/followers'] elif has_object_dict(post_json_object): if not post_json_object['object'].get('to'): return @@ -3339,7 +3339,7 @@ def _add_followers_to_public_post(post_json_object: {}) -> None: return actor_url = get_actor_from_post(post_json_object) post_json_object['object']['cc'] = \ - actor_url + '/followers' + [actor_url + '/followers'] def send_signed_json(post_json_object: {}, session, base_dir: str,