don't just ignore when we receive an error to vcard request. Fixes #8965
This commit is contained in:
parent
e0256719ae
commit
ba48e4530b
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue