mirror of https://gitlab.com/bashrc2/epicyon
Remove unused arguments
parent
124ea9cdc4
commit
f69e759301
18
inbox.py
18
inbox.py
|
@ -2640,12 +2640,10 @@ def _receive_zot_reaction(recent_posts_cache: {},
|
||||||
|
|
||||||
|
|
||||||
def _receive_undo_reaction(recent_posts_cache: {},
|
def _receive_undo_reaction(recent_posts_cache: {},
|
||||||
session, handle: str, is_group: bool, base_dir: str,
|
session, handle: str, base_dir: str,
|
||||||
http_prefix: str, domain: str, port: int,
|
http_prefix: str, domain: str, port: int,
|
||||||
send_threads: [], post_log: [],
|
|
||||||
cached_webfingers: {},
|
cached_webfingers: {},
|
||||||
person_cache: {}, message_json: {},
|
person_cache: {}, message_json: {},
|
||||||
federation_list: [],
|
|
||||||
debug: bool,
|
debug: bool,
|
||||||
signing_priv_key_pem: str,
|
signing_priv_key_pem: str,
|
||||||
max_recent_posts: int, translate: {},
|
max_recent_posts: int, translate: {},
|
||||||
|
@ -2789,10 +2787,10 @@ def _receive_undo_reaction(recent_posts_cache: {},
|
||||||
|
|
||||||
|
|
||||||
def _receive_bookmark(recent_posts_cache: {},
|
def _receive_bookmark(recent_posts_cache: {},
|
||||||
session, handle: str, is_group: bool, base_dir: str,
|
session, handle: str, base_dir: str,
|
||||||
http_prefix: str, domain: str, port: int,
|
http_prefix: str, domain: str, port: int,
|
||||||
send_threads: [], post_log: [], cached_webfingers: {},
|
cached_webfingers: {},
|
||||||
person_cache: {}, message_json: {}, federation_list: [],
|
person_cache: {}, message_json: {},
|
||||||
debug: bool, signing_priv_key_pem: str,
|
debug: bool, signing_priv_key_pem: str,
|
||||||
max_recent_posts: int, translate: {},
|
max_recent_posts: int, translate: {},
|
||||||
allow_deletion: bool,
|
allow_deletion: bool,
|
||||||
|
@ -4851,14 +4849,12 @@ def _inbox_after_initial(server, inbox_start_time,
|
||||||
return False
|
return False
|
||||||
|
|
||||||
if _receive_undo_reaction(recent_posts_cache,
|
if _receive_undo_reaction(recent_posts_cache,
|
||||||
session, handle, is_group,
|
session, handle,
|
||||||
base_dir, http_prefix,
|
base_dir, http_prefix,
|
||||||
domain, port,
|
domain, port,
|
||||||
send_threads, post_log,
|
|
||||||
cached_webfingers,
|
cached_webfingers,
|
||||||
person_cache,
|
person_cache,
|
||||||
message_json,
|
message_json,
|
||||||
federation_list,
|
|
||||||
debug, signing_priv_key_pem,
|
debug, signing_priv_key_pem,
|
||||||
max_recent_posts, translate,
|
max_recent_posts, translate,
|
||||||
allow_deletion,
|
allow_deletion,
|
||||||
|
@ -4880,14 +4876,12 @@ def _inbox_after_initial(server, inbox_start_time,
|
||||||
return False
|
return False
|
||||||
|
|
||||||
if _receive_bookmark(recent_posts_cache,
|
if _receive_bookmark(recent_posts_cache,
|
||||||
session, handle, is_group,
|
session, handle,
|
||||||
base_dir, http_prefix,
|
base_dir, http_prefix,
|
||||||
domain, port,
|
domain, port,
|
||||||
send_threads, post_log,
|
|
||||||
cached_webfingers,
|
cached_webfingers,
|
||||||
person_cache,
|
person_cache,
|
||||||
message_json,
|
message_json,
|
||||||
federation_list,
|
|
||||||
debug, signing_priv_key_pem,
|
debug, signing_priv_key_pem,
|
||||||
max_recent_posts, translate,
|
max_recent_posts, translate,
|
||||||
allow_deletion,
|
allow_deletion,
|
||||||
|
|
Loading…
Reference in New Issue