Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/gajim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYann Leboulanger <asterix@lagaule.org>2008-08-12 12:07:39 +0400
committerYann Leboulanger <asterix@lagaule.org>2008-08-12 12:07:39 +0400
commita6ff8bac5ee022c66f62dec6e3eea8df5e506634 (patch)
treec80b191a1a34697f0d7da6b2ba09dbc0cf391b40
parent82cff070af690ea89035fe5f61e47ad74efd0835 (diff)
use highest prio contact when we dubble click on a contact
-rw-r--r--src/roster_window.py2
1 files changed, 1 insertions, 1 deletions
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)