don't just ignore when we receive an error to vcard request. Fixes #8965

This commit is contained in:
Yann Leboulanger 2018-03-23 22:17:59 +01:00
parent e0256719ae
commit ba48e4530b
2 changed files with 1 additions and 1 deletions

View File

@ -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)

View File

@ -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)