From c9fa13e458add48d1456b72c5b6c97d7a4be3200 Mon Sep 17 00:00:00 2001
From: Yann Leboulanger <asterix@lagaule.org>
Date: Sat, 18 Feb 2012 21:21:00 +0100
Subject: [PATCH] revert debug test

---
 src/gui_interface.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gui_interface.py b/src/gui_interface.py
index 3401343ab5..c989995d68 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:
-- 
GitLab