Philipp Hörist pushed to branch mainwindow at gajim / gajim


Commits:
841d4bf6 by lovetox at 2021-12-01T18:13:48+01:00
Fix get_active_accounts()

- - - - -


1 changed file:

- gajim/common/settings.py


Changes:

=====================================
gajim/common/settings.py
=====================================
@@ -574,7 +574,7 @@ def get_accounts(self) -> List[str]:
     def get_active_accounts(self) -> List[str]:
         active = []
         for account, settings in self._account_settings.items():
-            if settings['account']['active'] is True:
+            if self.get_account_setting(account, 'active'):
                 active.append(account)
         return active
 



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/841d4bf6468d4b4647b9d43cc24ecd23c1774a71

-- 
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/841d4bf6468d4b4647b9d43cc24ecd23c1774a71
You're receiving this email because of your account on dev.gajim.org.


_______________________________________________
Commits mailing list
[email protected]
https://lists.gajim.org/cgi-bin/listinfo/commits

Reply via email to