From 08f21700ad206292d2958ae5edde486016cce646 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Tue, 2 Jan 2007 00:04:31 +0000 Subject: [PATCH] update message_control contact correctly to show correct status message. fixes #2851 --- src/roster_window.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/roster_window.py b/src/roster_window.py index ad0cc8de4..e38f65774 100644 --- a/src/roster_window.py +++ b/src/roster_window.py @@ -1187,7 +1187,8 @@ class RosterWindow: if gajim.interface.msg_win_mgr.has_window(jid, account): win = gajim.interface.msg_win_mgr.get_window(jid, account) ctrl = win.get_control(jid, account) - ctrl.contact = contact + ctrl.contact = gajim.contacts.get_contact_with_highest_priority( + account, contact.jid) ctrl.update_ui() win.redraw_tab(ctrl)