Skip to content
Snippets Groups Projects
Commit 24203f36 authored by Brendan Taylor's avatar Brendan Taylor
Browse files

fixed use of get_control

parent 2162c373
No related branches found
No related tags found
No related merge requests found
......@@ -253,12 +253,10 @@ def user_nickname(items, name, jid):
if nick is not None:
contact.contact_name = nick
gajim.interface.roster.draw_contact(user, name)
ctrl = gajim.interface.msg_win_mgr.get_control(user, name)
if ctrl:
for ctrl in gajim.interface.msg_win_mgr.get_chat_controls(user, name):
ctrl.update_ui()
win = gajim.interface.msg_win_mgr.get_window(user, name)
win.redraw_tab(ctrl)
win.show_title()
ctrl.parent_win.redraw_tab(ctrl)
ctrl.parent_win.show_title()
elif retract:
contact.contact_name = ''
......
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