mirror of https://gitlab.com/bashrc2/epicyon
Tidying
parent
5cf0f7ff9a
commit
72df995204
|
@ -449,8 +449,7 @@ def is_blocked(base_dir: str, nickname: str, domain: str,
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
|
||||||
def outbox_block(base_dir: str, http_prefix: str,
|
def outbox_block(base_dir: str, nickname: str, domain: str,
|
||||||
nickname: str, domain: str, port: int,
|
|
||||||
message_json: {}, debug: bool) -> bool:
|
message_json: {}, debug: bool) -> bool:
|
||||||
""" When a block request is received by the outbox from c2s
|
""" When a block request is received by the outbox from c2s
|
||||||
"""
|
"""
|
||||||
|
|
|
@ -627,9 +627,7 @@ def post_message_to_outbox(session, translate: {},
|
||||||
|
|
||||||
if debug:
|
if debug:
|
||||||
print('DEBUG: handle block requests')
|
print('DEBUG: handle block requests')
|
||||||
outbox_block(base_dir, http_prefix,
|
outbox_block(base_dir, post_to_nickname, domain,
|
||||||
post_to_nickname, domain,
|
|
||||||
port,
|
|
||||||
message_json, debug)
|
message_json, debug)
|
||||||
|
|
||||||
if debug:
|
if debug:
|
||||||
|
|
Loading…
Reference in New Issue