publish tune for every connected accounts if we use pep

This commit is contained in:
Yann Leboulanger 2007-12-13 19:14:41 +00:00
parent 48786d39ff
commit 192669b64e
1 changed files with 2 additions and 2 deletions

View File

@ -3799,8 +3799,8 @@ class RosterWindow:
for account in accounts:
if not gajim.account_is_connected(account):
continue
if not gajim.config.get_per('accounts', account,
'sync_with_global_status'):
if not gajim.config.get('use_pep') and not gajim.config.get_per(
'accounts', account, 'sync_with_global_status'):
continue
if not gajim.connections[account].pep_supported:
continue