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'):
|
'not-allowed'):
|
||||||
app.log('avatar').info('vCard not available: %s %s',
|
app.log('avatar').info('vCard not available: %s %s',
|
||||||
frm_jid, stanza_error)
|
frm_jid, stanza_error)
|
||||||
|
callback(jid, resource, room, {})
|
||||||
return
|
return
|
||||||
|
|
||||||
vcard_node = stanza.getTag('vCard', namespace=nbxmpp.NS_VCARD)
|
vcard_node = stanza.getTag('vCard', namespace=nbxmpp.NS_VCARD)
|
||||||
|
|
|
@ -265,7 +265,6 @@ class Interface:
|
||||||
self.show_vcard_when_connect.remove(account)
|
self.show_vcard_when_connect.remove(account)
|
||||||
|
|
||||||
def edit_own_details(self, account):
|
def edit_own_details(self, account):
|
||||||
jid = app.get_jid_from_account(account)
|
|
||||||
if 'profile' not in self.instances[account]:
|
if 'profile' not in self.instances[account]:
|
||||||
self.instances[account]['profile'] = \
|
self.instances[account]['profile'] = \
|
||||||
profile_window.ProfileWindow(account, app.interface.roster.window)
|
profile_window.ProfileWindow(account, app.interface.roster.window)
|
||||||
|
|
Loading…
Reference in New Issue