From 5c95785ffdcca62b44d6019921f339d5f16a19b9 Mon Sep 17 00:00:00 2001 From: Dimitur Kirov Date: Wed, 3 Aug 2005 16:52:45 +0000 Subject: [PATCH] stop transfer on error accept socket --- src/gajim.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gajim.py b/src/gajim.py index 9a26193fb..fdcd592ff 100755 --- a/src/gajim.py +++ b/src/gajim.py @@ -199,7 +199,7 @@ class Interface: def handle_event_error_answer(self, account, array): id, jid_from, errmsg, errcode = array - if str(errcode) == '403' and id: + if str(errcode) in ['403', '406'] and id: ft = self.windows['file_transfers'] if ft.files_props['s'].has_key(id): file_props = ft.files_props['s'][id]