Commit d65cba84 authored by Yann Leboulanger's avatar Yann Leboulanger

don't send user tune if account is disconnected

parent 16e9aab8
......@@ -3798,6 +3798,8 @@ class RosterWindow:
if account == '':
print "Multi accounts"
for account in accounts:
if not gajim.account_is_connected(account):
continue
if not gajim.config.get_per('accounts', account,
'sync_with_global_status'):
continue
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment