diff --git a/inbox.py b/inbox.py index 7c3d7d3f3..cc5ee2439 100644 --- a/inbox.py +++ b/inbox.py @@ -168,7 +168,7 @@ from reading import store_book_events def cache_svg_images(session, base_dir: str, http_prefix: str, - nickname: str, domain: str, domain_full: str, + domain: str, domain_full: str, onion_domain: str, i2p_domain: str, post_json_object: {}, federation_list: [], debug: bool, @@ -5221,7 +5221,7 @@ def _inbox_after_initial(server, inbox_start_time, # cache any svg image attachments locally # This is so that any scripts can be removed cache_svg_images(session, base_dir, http_prefix, - nickname, domain, domain_full, + domain, domain_full, onion_domain, i2p_domain, post_json_object, federation_list, debug, None) diff --git a/tests.py b/tests.py index 18dc45df6..e2252178b 100644 --- a/tests.py +++ b/tests.py @@ -4249,7 +4249,6 @@ def _test_danger_svg(base_dir: str) -> None: session = None http_prefix = 'https' - nickname = 'amplifier' domain = 'ratsratsrats.live' domain_full = domain onion_domain = None @@ -4276,7 +4275,7 @@ def _test_danger_svg(base_dir: str) -> None: assert svg_content != svg_clean assert cache_svg_images(session, base_dir, http_prefix, - nickname, domain, domain_full, + domain, domain_full, onion_domain, i2p_domain, post_json_object, federation_list, debug,