merge-requests/30/head
Bob Mottram 2022-05-31 13:38:18 +01:00
parent 88520104a3
commit ed656b4cbc
1 changed files with 2 additions and 3 deletions

View File

@ -1667,8 +1667,7 @@ def outbox_message_create_wrap(http_prefix: str,
return new_post return new_post
def _post_is_addressed_to_followers(base_dir: str, def _post_is_addressed_to_followers(nickname: str, domain: str, port: int,
nickname: str, domain: str, port: int,
http_prefix: str, http_prefix: str,
post_json_object: {}) -> bool: post_json_object: {}) -> bool:
"""Returns true if the given post is addressed to followers of the nickname """Returns true if the given post is addressed to followers of the nickname
@ -3336,7 +3335,7 @@ def send_to_followers(server, session, session_onion, session_i2p,
"""sends a post to the followers of the given nickname """sends a post to the followers of the given nickname
""" """
print('send_to_followers') print('send_to_followers')
if not _post_is_addressed_to_followers(base_dir, nickname, domain, if not _post_is_addressed_to_followers(nickname, domain,
port, http_prefix, port, http_prefix,
post_json_object): post_json_object):
if debug: if debug: