diff --git a/src/filetransfers_window.py b/src/filetransfers_window.py index 64da83032..1e595a9b8 100644 --- a/src/filetransfers_window.py +++ b/src/filetransfers_window.py @@ -250,6 +250,8 @@ class FileTransfersWindow: def show_hash_error(self, jid, file_props, account): def on_yes(dummy): + # Delete old file + os.remove(file_props.file_name) # Request the file to the sender contact = gajim.contacts.get_contact_with_highest_priority(account, jid)