Skip to content
Snippets Groups Projects
Commit a786a13d authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

update open chat window when we change contact's nick. Fixes #1599

parent 4d1664ec
No related branches found
No related tags found
No related merge requests found
......@@ -2311,6 +2311,12 @@ _('If "%s" accepts this request you will know his or her status.') % jid)
u.name = new_text
gajim.connections[account].update_contact(jid, new_text, u.groups)
self.draw_contact(jid, account)
# Update opened chat
ctrl = gajim.interface.msg_win_mgr.get_control(jid, account)
if ctrl:
ctrl.update_ui()
win = gajim.interface.msg_win_mgr.get_window(jid, account)
win.redraw_tab(ctrl)
elif type == 'group':
# in C_JID cilumn it's not escaped
old_name = model[iter][C_JID].decode('utf-8')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment