update message_control contact correctly to show correct status message. fixes #2851

This commit is contained in:
Yann Leboulanger 2007-01-02 00:04:31 +00:00
parent 9814451e07
commit 08f21700ad
1 changed files with 2 additions and 1 deletions

View File

@ -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)