missing new functions
This commit is contained in:
parent
07888f9a49
commit
ed8ccffcbc
|
@ -2127,9 +2127,10 @@ _('If "%s" accepts this request you will know his or her status.') %jid)
|
||||||
jid = model[iter][C_JID].decode('utf-8')
|
jid = model[iter][C_JID].decode('utf-8')
|
||||||
type = model[iter][C_TYPE]
|
type = model[iter][C_TYPE]
|
||||||
if type == 'contact':
|
if type == 'contact':
|
||||||
old_text = gajim.get_contact_instance_with_highest_priority(account, jid).name
|
old_text = gajim.contacts.get_contact_with_highest_priority(account,
|
||||||
|
jid).name
|
||||||
if old_text != new_text:
|
if old_text != new_text:
|
||||||
for u in gajim.contacts[account][jid]:
|
for u in gajim.contacts.get_contact(account, jid):
|
||||||
u.name = new_text
|
u.name = new_text
|
||||||
gajim.connections[account].update_contact(jid, new_text, u.groups)
|
gajim.connections[account].update_contact(jid, new_text, u.groups)
|
||||||
self.draw_contact(jid, account)
|
self.draw_contact(jid, account)
|
||||||
|
|
Loading…
Reference in New Issue