Revert [12651]
This commit is contained in:
parent
346b38944c
commit
308fb28f68
1 changed files with 2 additions and 2 deletions
|
@ -1196,8 +1196,8 @@ class RosterWindow:
|
||||||
self._get_nearby_family_and_big_brother(family, account)[1:]
|
self._get_nearby_family_and_big_brother(family, account)[1:]
|
||||||
is_big_brother = (jid, account) == (bb_jid, bb_account)
|
is_big_brother = (jid, account) == (bb_jid, bb_account)
|
||||||
iters = self._get_contact_iter(jid, account)
|
iters = self._get_contact_iter(jid, account)
|
||||||
if iters != [] and is_big_brother and (len(family) > 1):
|
have_visible_children = iters and \
|
||||||
have_visible_children = self.modelfilter.iter_has_child(iters[0])
|
self.modelfilter.iter_has_child(iters[0])
|
||||||
|
|
||||||
if have_visible_children:
|
if have_visible_children:
|
||||||
# We are the big brother and have a visible family
|
# We are the big brother and have a visible family
|
||||||
|
|
Loading…
Add table
Reference in a new issue