Skip to content
Snippets Groups Projects
Commit 84af966a authored by Weblate's avatar Weblate
Browse files

prevent traceback

parent 1c895e89
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment