Yann Leboulanger pushed to branch master at gajim / gajim

Commits:
ba48e453 by Yann Leboulanger at 2018-03-23T22:17:59+01:00
don't just ignore when we receive an error to vcard request. Fixes #8965

- - - - -


2 changed files:

- gajim/common/connection_handlers.py
- gajim/gui_interface.py


Changes:

=====================================
gajim/common/connection_handlers.py
=====================================
--- 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)


=====================================
gajim/gui_interface.py
=====================================
--- 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)



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/commit/ba48e4530bf6e2c9abc8aa3424e860de069f8f3a

---
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/commit/ba48e4530bf6e2c9abc8aa3424e860de069f8f3a
You're receiving this email because of your account on dev.gajim.org.
_______________________________________________
Commits mailing list
[email protected]
https://lists.gajim.org/cgi-bin/listinfo/commits

Reply via email to