diff --git a/gajim/common/helpers.py b/gajim/common/helpers.py index 1c08942954cc31a6b827668eedb1a0ec9f74f244..41544f04fd8a5ad2e4e4f466129328c8d6539564 100644 --- a/gajim/common/helpers.py +++ b/gajim/common/helpers.py @@ -883,7 +883,8 @@ def get_accounts_info(): accounts = [] accounts_list = sorted(app.contacts.get_accounts()) for account in accounts_list: - status = app.connections[account].status + + status = get_connection_status(account) message = app.connections[account].status_message single_line = get_uf_show(status) if message is None: diff --git a/gajim/gtk/tooltips.py b/gajim/gtk/tooltips.py index b9fc154c5878c1bef5f112bf2b52d089aae454da..299759554e160b17fb6758a12c7d639dd762dc19 100644 --- a/gajim/gtk/tooltips.py +++ b/gajim/gtk/tooltips.py @@ -35,6 +35,7 @@ from gajim.common import app from gajim.common import helpers +from gajim.common.helpers import get_connection_status from gajim.common.const import AvatarSize from gajim.common.const import PEPEventType from gajim.common.i18n import Q_ @@ -308,7 +309,7 @@ def _populate_grid(self, contacts, account, typ): jid=jid, account=account, name=account_name, - show=connection.status, + show=get_connection_status(account), status=connection.status_message, resource=connection.get_own_jid().getResource(), priority=connection.priority)