use highest prio contact when we dubble click on a contact
This commit is contained in:
parent
82cff070af
commit
a6ff8bac5e
1 changed files with 1 additions and 1 deletions
|
@ -3445,7 +3445,7 @@ class RosterWindow:
|
||||||
return
|
return
|
||||||
jid = model[path][C_JID].decode('utf-8')
|
jid = model[path][C_JID].decode('utf-8')
|
||||||
resource = None
|
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)
|
titer = model.get_iter(path)
|
||||||
if contact.is_groupchat():
|
if contact.is_groupchat():
|
||||||
first_ev = gajim.events.get_first_event(account, jid)
|
first_ev = gajim.events.get_first_event(account, jid)
|
||||||
|
|
Loading…
Add table
Reference in a new issue