...
This commit is contained in:
parent
87051edf55
commit
a5ea12757e
1 changed files with 2 additions and 2 deletions
|
|
@ -717,10 +717,10 @@ def __init__(self, request_id: str, quiet: int, bypass: str, num_of_args: int) -
|
|||
self.id = request_id
|
||||
self.expected_num_of_args = num_of_args
|
||||
self.bypass_ok: Optional[bool] = None
|
||||
self.accepted = False
|
||||
if bypass:
|
||||
byp = get_options().file_transfer_confirmation_bypass
|
||||
self.bypass_ok = (encode_bypass(request_id, byp) == bypass) if byp else False
|
||||
self.bypass_ok = check_bypass(byp, request_id, bypass)
|
||||
self.accepted = False
|
||||
self.last_activity_at = monotonic()
|
||||
self.send_acknowledgements = quiet < 1
|
||||
self.send_errors = quiet < 2
|
||||
|
|
|
|||
Loading…
Reference in a new issue