From 192669b64e8b975db374b698450b857da66855be Mon Sep 17 00:00:00 2001
From: Yann Leboulanger <asterix@lagaule.org>
Date: Thu, 13 Dec 2007 19:14:41 +0000
Subject: [PATCH] publish tune for every connected accounts if we use pep

---
 src/roster_window.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/roster_window.py b/src/roster_window.py
index 5118b312ef..1ab1369760 100644
--- a/src/roster_window.py
+++ b/src/roster_window.py
@@ -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
-- 
GitLab