Remind user to not transfer files from machines they dont trust

This commit is contained in:
Kovid Goyal 2026-06-07 06:52:27 +05:30
parent 72c1ff6085
commit 470a70db57
No known key found for this signature in database
GPG key ID: 06BC317B515ACE7C

View file

@ -1172,7 +1172,8 @@ def start_send(self, asd_id: str) -> None:
window = boss.window_id_map.get(self.window_id)
if window is not None:
boss.confirm(_(
'The remote machine wants to read some files from this computer. Do you want to allow the transfer?'),
'The remote machine wants to read some files from this computer.'
' Only allow transfers to computers you trust. Do you want to allow the transfer?'),
self.handle_receive_confirmation, asd_id, window=window,
)
@ -1202,7 +1203,8 @@ def start_receive(self, ar_id: str) -> None:
window = boss.window_id_map.get(self.window_id)
if window is not None:
boss.confirm(_(
'The remote machine wants to send some files to this computer. Do you want to allow the transfer?'),
'The remote machine wants to send some files to this computer.'
' Only allow transfers from computers you trust. Do you want to allow the transfer?'),
self.handle_send_confirmation, ar_id, window=window,
)