Commit 3de0fc21 authored by Dicson's avatar Dicson

Fix gtk warning

parent dad1a578
......@@ -1196,8 +1196,8 @@ class RosterWindow:
self._get_nearby_family_and_big_brother(family, account)[1:]
is_big_brother = (jid, account) == (bb_jid, bb_account)
iters = self._get_contact_iter(jid, account)
have_visible_children = iters and \
if iters != [] and is_big_brother and (len(family) > 1):
have_visible_children = self.modelfilter.iter_has_child(iters[0])
if have_visible_children:
# We are the big brother and have a visible family
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment