diff --git a/src/roster_window.py b/src/roster_window.py
index 5118b312ef40ba890c686bcad9793ee5924f3590..1ab1369760936ebb026a86cdf3813d337b4399d3 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