Commit b43f5bc6 authored by Philipp Hörist's avatar Philipp Hörist

RosterTooltip: Show correct account status

Fixes #10100
parent 71b2936c
Pipeline #5612 passed with stages
in 2 minutes and 43 seconds
......@@ -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:
......
......@@ -35,6 +35,7 @@ from gi.repository import Pango
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 @@ class RosterTooltip(StatusTable):
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)
......
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