Yann Leboulanger pushed to branch master at gajim / gajim

Commits:
84af966a by Yann Leboulanger at 2017-11-20T21:18:32+01:00
prevent traceback

- - - - -


1 changed file:

- gajim/roster_window.py


Changes:

=====================================
gajim/roster_window.py
=====================================
--- a/gajim/roster_window.py
+++ b/gajim/roster_window.py
@@ -1016,6 +1016,8 @@ class RosterWindow:
             self.draw_contact(jid, account)
             # Hide Group if all childs are hidden
             contact = app.contacts.get_contact(account, jid)
+            if not contact:
+                return
             for group in contact.get_shown_groups():
                 self.draw_group(group, account)
 



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

---
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/commit/84af966a87e4d56742af95bc7cf0c3fbcd6ab916
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