diff --git a/src/filetransfers_window.py b/src/filetransfers_window.py
index 4ee201ae7426dacebf9ffad730a04ecc13827445..dda49dfc4eb882285a1363cf4532ed2fe327868e 100644
--- a/src/filetransfers_window.py
+++ b/src/filetransfers_window.py
@@ -248,14 +248,17 @@ class FileTransfersWindow:
         self.tree.get_selection().unselect_all()
 
     def show_hash_error(self, jid, file_props, account):
+
         def on_yes(dummy):
             # Request the file to the sender
-            sid = gajim.connections[account].start_file_transfer(jid,
+            contact = gajim.contacts.get_contact_with_highest_priority(account,
+                                                                       jid)
+            fjid = contact.get_full_jid()
+            sid = gajim.connections[account].start_file_transfer(fjid,
                                                             file_props,
                                                                 True)
             file_props.sid = sid
 
-
         if file_props.type_ == 'r':
             file_name = os.path.basename(file_props.file_name)
         else: