fix creating menu for wrong resource

This commit is contained in:
Dimitur Kirov 2005-08-29 11:36:57 +00:00
parent 37df1785e9
commit 12ef793d54
1 changed files with 2 additions and 1 deletions

View File

@ -764,7 +764,8 @@ class RosterWindow:
jid = model[iter][3].decode('utf-8')
path = model.get_path(iter)
account = model[iter][4].decode('utf-8')
contact = gajim.contacts[account][jid][0]
contact = gajim.get_highest_prio_contact_from_contacts(
gajim.contacts[account][jid])
xml = gtk.glade.XML(GTKGUI_GLADE, 'roster_contact_context_menu',
APP)