From a6ff8bac5ee022c66f62dec6e3eea8df5e506634 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Tue, 12 Aug 2008 08:07:39 +0000 Subject: use highest prio contact when we dubble click on a contact --- src/roster_window.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/roster_window.py b/src/roster_window.py index 24d6597e0..856e131b4 100644 --- a/src/roster_window.py +++ b/src/roster_window.py @@ -3445,7 +3445,7 @@ class RosterWindow: return jid = model[path][C_JID].decode('utf-8') resource = None - contact = gajim.contacts.get_first_contact_from_jid(account, jid) + contact = gajim.contacts.get_contact_with_highest_priority(account, jid) titer = model.get_iter(path) if contact.is_groupchat(): first_ev = gajim.events.get_first_event(account, jid) -- cgit v1.2.3