From ba48e4530bf6e2c9abc8aa3424e860de069f8f3a Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Fri, 23 Mar 2018 22:17:59 +0100 Subject: [PATCH] don't just ignore when we receive an error to vcard request. Fixes #8965 --- gajim/common/connection_handlers.py | 1 + gajim/gui_interface.py | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/gajim/common/connection_handlers.py b/gajim/common/connection_handlers.py index f867a3602..e561630d8 100644 --- a/gajim/common/connection_handlers.py +++ b/gajim/common/connection_handlers.py @@ -511,6 +511,7 @@ class ConnectionVcard: 'not-allowed'): app.log('avatar').info('vCard not available: %s %s', frm_jid, stanza_error) + callback(jid, resource, room, {}) return vcard_node = stanza.getTag('vCard', namespace=nbxmpp.NS_VCARD) diff --git a/gajim/gui_interface.py b/gajim/gui_interface.py index 686963e63..a2be16fde 100644 --- a/gajim/gui_interface.py +++ b/gajim/gui_interface.py @@ -265,7 +265,6 @@ class Interface: self.show_vcard_when_connect.remove(account) def edit_own_details(self, account): - jid = app.get_jid_from_account(account) if 'profile' not in self.instances[account]: self.instances[account]['profile'] = \ profile_window.ProfileWindow(account, app.interface.roster.window)