From 99b27b448474f91f42687a8302feb261ed3d7ea5 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Wed, 16 Aug 2017 22:03:17 +0200 Subject: [PATCH] correctly compute file hash when file is received --- gajim/gui_interface.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gajim/gui_interface.py b/gajim/gui_interface.py index c1f36c4cd..c7a297527 100644 --- a/gajim/gui_interface.py +++ b/gajim/gui_interface.py @@ -996,7 +996,8 @@ class Interface: file_props=file_props)) else: ft.set_status(file_props, 'stop') - if file_props.stalled or file_props.paused: + if not file_props.completed and (file_props.stalled or \ + file_props.paused): return if file_props.type_ == 'r': # we receive a file