Remove unused arguments

main
Bob Mottram 2024-02-26 13:05:26 +00:00
parent 961bc38476
commit 15a8e9b523
2 changed files with 2 additions and 4 deletions

View File

@ -426,8 +426,7 @@ def _create_person_base(base_dir: str, nickname: str, domain: str, port: int,
private_key_pem, public_key_pem = generate_rsa_key()
webfinger_endpoint = \
create_webfinger_endpoint(nickname, domain, port,
http_prefix, public_key_pem,
group_account)
http_prefix)
if save_to_file:
store_webfinger_endpoint(nickname, domain, port,
base_dir, webfinger_endpoint)

View File

@ -165,8 +165,7 @@ def store_webfinger_endpoint(nickname: str, domain: str, port: int,
def create_webfinger_endpoint(nickname: str, domain: str, port: int,
http_prefix: str, public_key_pem: str,
group_account: bool) -> {}:
http_prefix: str) -> {}:
"""Creates a webfinger endpoint for a user
NOTE: in earlier implementations group_account modified the acct prefix.
This has been left in, because currently there is still no consensus