prevent traceback

This commit is contained in:
Yann Leboulanger 2017-11-20 21:18:32 +01:00
parent 1c895e8983
commit 84af966a87
1 changed files with 2 additions and 0 deletions

View File

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