diff --git a/src/gui_interface.py b/src/gui_interface.py
index 3401343ab5bae2911b71acba138944e689e131c8..c989995d68d7646bd947f0888d7dd8aa49d62f10 100644
--- a/src/gui_interface.py
+++ b/src/gui_interface.py
@@ -929,7 +929,7 @@ class Interface:
         # If the hash we received and the hash of the file are the same,
         # then the file is not corrupt
         jid = unicode(file_props['sender'])
-        if session.file_hash != hash_:
+        if session.file_hash == hash_:
             self.popup_ft_result(account, jid, file_props)
             ft_win.set_status(file_props['type'], file_props['sid'], 'ok')
         else: