Take into account show_transports_group option to show transports

This commit is contained in:
Yann Leboulanger 2017-11-15 15:13:51 +01:00
parent 7724dd181b
commit 0b2e558834
1 changed files with 2 additions and 0 deletions

View File

@ -1647,6 +1647,8 @@ class RosterWindow:
if app.config.get('show_only_chat_and_online') and contact.show in (
'away', 'xa', 'busy'):
return False
if _('Transports') in contact.get_shown_groups():
return app.config.get('show_transports_group')
return True
def _visible_func(self, model, titer, dummy):