diff --git a/src/filetransfers_window.py b/src/filetransfers_window.py index 64da8303276aa59e095279606ebe5a2bf79a2e0f..1e595a9b8f4fcdfff043f21ef98ba1377d3dccf4 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)