Take into account show_transports_group option to show transports
This commit is contained in:
parent
7724dd181b
commit
0b2e558834
1 changed files with 2 additions and 0 deletions
|
@ -1647,6 +1647,8 @@ class RosterWindow:
|
||||||
if app.config.get('show_only_chat_and_online') and contact.show in (
|
if app.config.get('show_only_chat_and_online') and contact.show in (
|
||||||
'away', 'xa', 'busy'):
|
'away', 'xa', 'busy'):
|
||||||
return False
|
return False
|
||||||
|
if _('Transports') in contact.get_shown_groups():
|
||||||
|
return app.config.get('show_transports_group')
|
||||||
return True
|
return True
|
||||||
|
|
||||||
def _visible_func(self, model, titer, dummy):
|
def _visible_func(self, model, titer, dummy):
|
||||||
|
|
Loading…
Add table
Reference in a new issue